Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > dotnet distributed apps > recent posts

Long running tasks?
Posted by Val P at 4/21/2008 4:59:15 PM
I have the following requirement, maybe someone can suggest what the proper way of handling it is? 1. I have an ASP.NET application where users can submit certain jobs. 2. I want to return as soon as they submit the job, and continue with their work, without popups. The job result will be si...more >>


RE: Solution Architect
Posted by Val P at 4/21/2008 4:58:46 PM
How about using dynamic dns with a public (free) dynamic dns server such as dyndns.org? If you rent a server as a proxy, you still need to notify it of IP changes, no? "Pure Heart" wrote: > > -- Hi Microsoft > > we are trying to develop a web application to our company use, the ...more >>

RE: Solution Architect
Posted by Val P at 4/21/2008 4:37:13 PM
Forgot to mention one thing -- you may be able to fix the addressing issue with dynamic dns, but you still have a potentially broken solution, depending on what your needs are.. Changes in IP will cause your connections to be broken, which may impact scalability and depending on application ma...more >>

RE: ClickOnce app. installation failure
Posted by Zoodor at 4/15/2008 3:45:00 AM
I am still investigating the problem, but it does seem to me from viewing the WebRequest class's code that a NullReferenceException is possible if there is a configuration section not present. There is a line in the PrefixList property setter: s_PrefixList = WebRequestModulesSectionIntern...more >>

ClickOnce app. installation failure
Posted by Zoodor at 4/15/2008 1:12:01 AM
We have a clickonce application deployed to a webserver. The virtual directory has SSL enabled. When trying to download and install the app on a client machine on a client's site the download fails with the following error: ----- PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) ...more >>

RE: My Serviced component doesn't expose any methods!
Posted by stcheng@online.microsoft.com at 4/14/2008 11:04:18 AM
Hi Karre, I'm still monitoring the issue, have you got any progress? If there is anything else we can help, welcome to post here. Sincerely, Steven Cheng Microsoft MSDN Online Support Lead Delighting our customers is our #1 priority. We welcome your comments and suggestions ab...more >>

RE: My Serviced component doesn't expose any methods!
Posted by stcheng@online.microsoft.com at 4/10/2008 4:29:37 AM
Hi Karre, Have you got any progress on this? When you use regsvcs.exe to install the servicedcomponent into COM+ applications, it will create the COM+ application by the name you specified through <Assembly:ApplicationName("...." )> attribute(not the class name or assembly name), hav...more >>

RE: My Serviced component doesn't expose any methods!
Posted by stcheng@online.microsoft.com at 4/8/2008 9:33:15 AM
Thanks for your reply Karre, So the problem is at the Com+ registring stage. Why did you manually register it into COM+ applications? As I mentioned in previous messages, in my test, I used the .NET framework regsvcs.exe tool to install the serviced component into COM+ applications. #.N...more >>



RE: My Serviced component doesn't expose any methods!
Posted by stcheng@online.microsoft.com at 4/8/2008 5:45:35 AM
Hi Kkarre, I'm sorry to hear that it still not work. As for the warning you mentioned below: ========== ns "WARNING: The assembly does not declare an ApplicationAccessControl Attribute. Application security will be enabled by default." ======= I also got this warning since this is a ...more >>

RE: My Serviced component doesn't expose any methods!
Posted by kkarre at 4/8/2008 3:51:01 AM
I have used both regsvcs and the COM+ UI. regsvcs returns a happy message but I can't see the COM+ application that has the installed component. The people that will maintain this solution wanted to see the COM+ application and components/interface/methods in it, so I tried that with COM+ Manag...more >>

RE: My Serviced component doesn't expose any methods!
Posted by kkarre at 4/8/2008 12:31:00 AM
One step closer: I added ProgID attribute to your code and got my client to work! "Steven Cheng [MSFT]" wrote: > Hi Kkarre, > > I'm sorry to hear that it still not work. As for the warning you mentioned > below: > > ========== > ns "WARNING: The assembly does not declare an > Applic...more >>

RE: My Serviced component doesn't expose any methods!
Posted by kkarre at 4/8/2008 12:24:00 AM
Hi Steven, thanks for your reply! I did apply the <Assembly: ApplicationAccessControl(AccessChecksLevelOption.Application)> setting in my component but somehow it didn't "stick". It seems to take a while, maybe today... Your component installs fine in GAC today, d&d or gacutil equally works f...more >>

RE: My Serviced component doesn't expose any methods!
Posted by kkarre at 4/7/2008 6:06:01 AM
....and afterwards gacutil cannot uninstall it! Number of files: 0 Gaaaaaaaaah! "kkarre" wrote: > Intriguing: > I backed down, tried to install your sample component in my COM+. > gacutil returns "Assembly successfully added to the cache." > regsvcs returns "WARNING: The assembly does no...more >>

RE: My Serviced component doesn't expose any methods!
Posted by kkarre at 4/7/2008 4:53:01 AM
Intriguing: I backed down, tried to install your sample component in my COM+. gacutil returns "Assembly successfully added to the cache." regsvcs returns "WARNING: The assembly does not declare an ApplicationAccessControl Attribute. Application security will be enabled by default." !!! So...more >>

RE: My Serviced component doesn't expose any methods!
Posted by kkarre at 4/7/2008 3:49:01 AM
Error code 80020009 turned up at one try, when trying to install into COM+. "Steven Cheng [MSFT]" wrote: > Thanks for your reply Karre, > > BTW, you can apply ComVisible attribute at both class level and assembly > level, make sure you properly set both ones. You can refer to the examples...more >>

RE: My Serviced component doesn't expose any methods!
Posted by kkarre at 4/7/2008 3:19:00 AM
I'm not sure if my previous post disappeared: When using regsvcs I get a Warning: "The assembly does not declare an ApplicationAccessControl Attribute. Application security will be enabled by default. No matter how I apply these settings I get the same warning. ? /kk "Steven Cheng [MSFT]" w...more >>

RE: My Serviced component doesn't expose any methods!
Posted by stcheng@online.microsoft.com at 4/7/2008 1:28:47 AM
Thanks for your reply Karre, BTW, you can apply ComVisible attribute at both class level and assembly level, make sure you properly set both ones. You can refer to the examples I pasted previously. Feel free to let me know if you've got it resolved. Sincerely, Steven Cheng Microsoft...more >>

RE: My Serviced component doesn't expose any methods!
Posted by kkarre at 4/4/2008 10:25:00 AM
I believe COMVisible attribute is what I forgot! I'll check on Monday! Thanks! "Steven Cheng [MSFT]" wrote: > Hi Karre, > > From your description, you're encountering some error when try calling a > .NET serviced component ,correct? > > Based on my experience, for serviced component,...more >>

RE: My Serviced component doesn't expose any methods!
Posted by stcheng@online.microsoft.com at 4/4/2008 3:49:58 AM
Hi Karre, From your description, you're encountering some error when try calling a ..NET serviced component ,correct? Based on my experience, for serviced component, you can check the following things to see whether there is anything incorrect: ** the attributes and class/method setting...more >>

Solution Architect
Posted by Pure Heart at 4/3/2008 4:48:01 AM
-- Hi Microsoft we are trying to develop a web application to our company use, the problem is we don't have fixed ip address plus our management don't agree to host our database on a outside hosting company, so we was thinking that we will rent an online dedicated server with fixed ip and...more >>

My Serviced component doesn't expose any methods!
Posted by kkarre at 4/3/2008 4:11:02 AM
Hello, PLs help: I have a component written in VB2005. It contains a class that inherits System.EnterpriseServices.ServicedComponent. The class contains a default constructor without any parameters or implementation. It also contains several public instance methods. The component installs a...more >>

IEÖÐÏÂÔØWORDºÍ´ò¿ªword
Posted by gma at 4/2/2008 7:03:53 PM
¸ã²»ÇåÁË.ÔÚGOOGLEÉÏ»¹Ã»ÓÐÕÒµ½. ÊÂÇéÊÇÕâÑùµÄ: Ô­À´ÔÚIEÖÐ,µã»÷<A HREF="A.DOC">A.DOC</A> ÊÇÏÂÔØA.DOC,ÓÐÒ»¸öÏÂÔØ¶Ô»°¿ò³öÀ´,µ«ÓÐÒ»Ìì,È¡ÏûÑ¡ÔñÏÂÔØ¶Ô»°¿òÖÐ"Ö±½Ó´ò¿ª²»Ìáʾ"ºó,A.DOC¾ÍÔÚIEÖÐÖ±½Ó´ò¿ªÁË.ÏÖÔÚÔõôÑù²Å¿ÉÄÜ»¹Ô­µ½³öÏÖÏÂÔØµÄ¶Ô»°¿ò? лл! ...more >>

Internet - Take Advantage of Multiple Windows When Surfing
Posted by Visitbazaar Info at 4/1/2008 1:36:46 AM
-- Internet - Take Advantage of Multiple Windows When Surfing SUMMARY: Stop jumping back and forth between index pages by using several browser windows. Why use one web browser window when you can have multiple? If you have an adequate amount of memory, open up several web browsers t...more >>

Prerequisite for .NET SP1 instead of .NET 2.0
Posted by Sharon at 3/31/2008 7:22:01 AM
Hi Gurus, I'm building a setup project using the VS2005. The setup is packing a C# application based on .NET Framework 2.0. When executing the application after the install is done I realized that I must have the SP1 for the Framework 2.0. The trouble is that there is no build in option to p...more >>

Installer class - Finding COM registered and file version and time
Posted by Sharon at 3/31/2008 7:20:02 AM
Hello Gurus, I need to add functionality to my install to check whether a COM dll is installed by another of our product, and if it's installed to check whether it has a newer file version or new creation time. I'm already using an VB installer class in my VS2005 install project as a cus...more >>

RE: Caching an object client side
Posted by Roy Lawson at 3/29/2008 7:33:00 AM
One solution is to create a common interface that both classes implement. That is probably the best solution in this case. So yes, you would create two different classes on the client/server but both classes would implement the same interface. You can put that interface in common code tha...more >>

RE: Redistributing MSVCR70.dll
Posted by Roy Lawson at 3/29/2008 7:27:00 AM
"I don't own any Microsoft development tools myself." There's your problem ;-) I think you can redistribute - but like you I came up short when trying to find explicit legal permission for them to be included with non Microsoft developed projects. The fact that they are called "Redistribu...more >>

RE: get/set, connectionstring,function pgms say "...already conts defn
Posted by Roy Lawson at 3/29/2008 6:55:01 AM
Hi J., I did a review of your code. There are many problems, so I'll start from the top. 1) Class EvalData should use a different nomenclature for your private members. Change the private members to use a lowercase first letter, and then update your getters and setters. In 2008 you do...more >>

Re: get/set, connectionstring,function pgms say "...already conts defn
Posted by simon-john roberts at 3/25/2008 6:20:51 PM
erm I'm no expert but mybe you could do with a constructor rather than a method public class Evaldb { Evaldb(some param list) { some self initiating stuff here... } public Evaldb GetEvalDataEntry(some other params / or none ) { Evaldb Eval = new Eval...more >>

Re: dotnetfx.exe
Posted by simon-john roberts at 3/25/2008 6:09:08 PM
VStudio. Add installer project It wil detect dependancies for you I believe AIUI this is not hard. "shawrie" <neil.shaw@sanderson.com> wrote in message news:f3aa043e-586c-40ef-93e8-564d754281c2@1g2000hsl.googlegroups.com... > Hi > > is there anyway to get the setup program to dete...more >>


DevelopmentNow Blog