Home All Groups Group Topic Archive Search About

System.Web.Services or what?

Author
12 Jan 2005 10:06 AM
Roland Giesler
I have an CS app that I had to re-install after rebuilding a server, but
can't get it to run.  It's a C# .net web application, which accesses a SQL
server DB.  When the page is loaded it crashes in a file .\Dominican\Web
References\Users\Reference.cs.  This file is auto created by Visual Studio
and has a number of calls implemented, "GetAuthenticatedUserData" being the
one that is not found, so IIS gives the error 404.

My env is Windows 2000 AS, with SQL Server EE, MDAC 2.8, .Net FW 1.1 with
all service packs installed and all patches loaded.

This app ran before, all the files are there, the two applications
(dominican.dll and docinicanservices.dll) are both installed as applications
in IIS.

I've attached screenshots of the IIS config, just to give a better picture
of what the setup looks like.

The Code that doesn't run is in the reference.cs file, line 37.

Question: Is there something else I have to load, register, install, etc to
get these calls to be succesful. It seems it's in system.web.services. where
this is located, but I cannot find this?

Thanks

Roland



[attached file: Reference.cs]

Author
12 Jan 2005 10:16 AM
Roland Giesler
The attachments were too large, so here they are.  I also renamed *.cs to
*.cs.txt to prevent Outlook/OE blocking the item.

Regards

Roland

[attached file: IIS2.jpg]
[attached file: IIS1.jpg]
Author
12 Jan 2005 5:35 PM
Roland Giesler
Show quote
"Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
news:#P$nS6I#EHA.3592@TK2MSFTNGP09.phx.gbl...
> I have an CS app that I had to re-install after rebuilding a server, but
> can't get it to run.  It's a C# .net web application, which accesses a SQL
> server DB.  When the page is loaded it crashes in a file .\Dominican\Web
> References\Users\Reference.cs.  This file is auto created by Visual Studio
> and has a number of calls implemented, "GetAuthenticatedUserData" being
the
> one that is not found, so IIS gives the error 404.
>
> My env is Windows 2000 AS, with SQL Server EE, MDAC 2.8, .Net FW 1.1 with
> all service packs installed and all patches loaded.
>
> This app ran before, all the files are there, the two applications
> (dominican.dll and docinicanservices.dll) are both installed as
applications
> in IIS.
>
> I've attached screenshots of the IIS config, just to give a better picture
> of what the setup looks like.
>
> The Code that doesn't run is in the reference.cs file, line 37.
>
> Question: Is there something else I have to load, register, install, etc
to
> get these calls to be succesful. It seems it's in system.web.services.
where
> this is located, but I cannot find this?
>
> Thanks
>
> Roland
>
>
>
>
>
Author
13 Jan 2005 9:08 AM
Nick Malik [Microsoft]
you may need to reregister ASP.NET.

see http://support.microsoft.com/default.aspx?scid=kb;en-us;306005

--
--- Nick Malik [Microsoft]
    MCSD, CFPS, Certified Scrummaster
    http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
   I do not answer questions on behalf of my employer.  I'm just a
programmer helping programmers.
--
Show quote
"Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
news:%23d76o0M%23EHA.1084@tk2msftngp13.phx.gbl...
>
> "Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
> news:#P$nS6I#EHA.3592@TK2MSFTNGP09.phx.gbl...
> > I have an CS app that I had to re-install after rebuilding a server, but
> > can't get it to run.  It's a C# .net web application, which accesses a
SQL
> > server DB.  When the page is loaded it crashes in a file .\Dominican\Web
> > References\Users\Reference.cs.  This file is auto created by Visual
Studio
> > and has a number of calls implemented, "GetAuthenticatedUserData" being
> the
> > one that is not found, so IIS gives the error 404.
> >
> > My env is Windows 2000 AS, with SQL Server EE, MDAC 2.8, .Net FW 1.1
with
> > all service packs installed and all patches loaded.
> >
> > This app ran before, all the files are there, the two applications
> > (dominican.dll and docinicanservices.dll) are both installed as
> applications
> > in IIS.
> >
> > I've attached screenshots of the IIS config, just to give a better
picture
> > of what the setup looks like.
> >
> > The Code that doesn't run is in the reference.cs file, line 37.
> >
> > Question: Is there something else I have to load, register, install, etc
> to
> > get these calls to be succesful. It seems it's in system.web.services.
> where
> > this is located, but I cannot find this?
> >
> > Thanks
> >
> > Roland
> >
> >
> >
> >
> >
>
>
Author
14 Jan 2005 9:54 AM
Roland Giesler
Nick, I did what you suggested, but it makes not difference.
Have a look at what someone elsewhere suggested and what I reported

> Make sure you can browse
http://localhost/Dominican/DominicanServices/Users.asmx...
> If not create an virtual directory name [Dominican] on your IIS and point
it to your project
> and browse it again...

> Also make sure you are able to browse
http://tempuri.org/GetAuthenticatedUserData from the server.

I  can both browse http://tempuri.org/GetAuthenticatedUserData and
http://localhost/Dominican/DominicanServices/Users.asmx.  If I click
GetAuthenticatedUserData on the users page, it's prompts me for the three
parameters required by the web service.  It all appears 100% correct.

Any other things I can check?

Roland


Show quote
"Nick Malik [Microsoft]" <nickmalik@hotmail.nospam.com> wrote in message
news:8K6dnei4HKIIp3vcRVn-oQ@comcast.com...
> you may need to reregister ASP.NET.
>
> see http://support.microsoft.com/default.aspx?scid=kb;en-us;306005
>
> --
> --- Nick Malik [Microsoft]
>     MCSD, CFPS, Certified Scrummaster
>     http://blogs.msdn.com/nickmalik
>
> Disclaimer: Opinions expressed in this forum are my own, and not
> representative of my employer.
>    I do not answer questions on behalf of my employer.  I'm just a
> programmer helping programmers.
> --
> "Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
> news:%23d76o0M%23EHA.1084@tk2msftngp13.phx.gbl...
> >
> > "Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
> > news:#P$nS6I#EHA.3592@TK2MSFTNGP09.phx.gbl...
> > > I have an CS app that I had to re-install after rebuilding a server,
but
> > > can't get it to run.  It's a C# .net web application, which accesses a
> SQL
> > > server DB.  When the page is loaded it crashes in a file
..\Dominican\Web
> > > References\Users\Reference.cs.  This file is auto created by Visual
> Studio
> > > and has a number of calls implemented, "GetAuthenticatedUserData"
being
> > the
> > > one that is not found, so IIS gives the error 404.
> > >
> > > My env is Windows 2000 AS, with SQL Server EE, MDAC 2.8, .Net FW 1.1
> with
> > > all service packs installed and all patches loaded.
> > >
> > > This app ran before, all the files are there, the two applications
> > > (dominican.dll and docinicanservices.dll) are both installed as
> > applications
> > > in IIS.
> > >
> > > I've attached screenshots of the IIS config, just to give a better
> picture
> > > of what the setup looks like.
> > >
> > > The Code that doesn't run is in the reference.cs file, line 37.
> > >
> > > Question: Is there something else I have to load, register, install,
etc
> > to
> > > get these calls to be succesful. It seems it's in system.web.services.
> > where
> > > this is located, but I cannot find this?
> > >
> > > Thanks
> > >
> > > Roland
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
Author
14 Jan 2005 2:34 PM
Nick Malik [Microsoft]
Your app is calling a web service.  It cannot find the web service, probably
because the app's web.config file should be set to point at it, and you have
not modified the web.config appropriately.

It is possible that the developer didn't code the application correctly, and
it is not referring to a web.config file to get the URL of the web service.
In that case, you will probably need to make sure that the virtual directory
that contains the web service has the same name as the application expects
it to have.

BTW: I don't know why anyone would suggest that you browse anything at
tempuri.org... it's a fake address.  I don't know how or why you made it
work, because you say that it does work.  It shouldn't work.

--
--- Nick Malik [Microsoft]
    MCSD, CFPS, Certified Scrummaster
    http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
   I do not answer questions on behalf of my employer.  I'm just a
programmer helping programmers.
--
Show quote
"Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
news:%23$Tzd8h%23EHA.2608@TK2MSFTNGP10.phx.gbl...
> Nick, I did what you suggested, but it makes not difference.
> Have a look at what someone elsewhere suggested and what I reported
>
> > Make sure you can browse
> http://localhost/Dominican/DominicanServices/Users.asmx...
> > If not create an virtual directory name [Dominican] on your IIS and
point
> it to your project
> > and browse it again...
>
> > Also make sure you are able to browse
> http://tempuri.org/GetAuthenticatedUserData from the server.
>
> I  can both browse http://tempuri.org/GetAuthenticatedUserData and
> http://localhost/Dominican/DominicanServices/Users.asmx.  If I click
> GetAuthenticatedUserData on the users page, it's prompts me for the three
> parameters required by the web service.  It all appears 100% correct.
>
> Any other things I can check?
>
> Roland
>
>
> "Nick Malik [Microsoft]" <nickmalik@hotmail.nospam.com> wrote in message
> news:8K6dnei4HKIIp3vcRVn-oQ@comcast.com...
> > you may need to reregister ASP.NET.
> >
> > see http://support.microsoft.com/default.aspx?scid=kb;en-us;306005
> >
> > --
> > --- Nick Malik [Microsoft]
> >     MCSD, CFPS, Certified Scrummaster
> >     http://blogs.msdn.com/nickmalik
> >
> > Disclaimer: Opinions expressed in this forum are my own, and not
> > representative of my employer.
> >    I do not answer questions on behalf of my employer.  I'm just a
> > programmer helping programmers.
> > --
> > "Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
> > news:%23d76o0M%23EHA.1084@tk2msftngp13.phx.gbl...
> > >
> > > "Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
> > > news:#P$nS6I#EHA.3592@TK2MSFTNGP09.phx.gbl...
> > > > I have an CS app that I had to re-install after rebuilding a server,
> but
> > > > can't get it to run.  It's a C# .net web application, which accesses
a
> > SQL
> > > > server DB.  When the page is loaded it crashes in a file
> .\Dominican\Web
> > > > References\Users\Reference.cs.  This file is auto created by Visual
> > Studio
> > > > and has a number of calls implemented, "GetAuthenticatedUserData"
> being
> > > the
> > > > one that is not found, so IIS gives the error 404.
> > > >
> > > > My env is Windows 2000 AS, with SQL Server EE, MDAC 2.8, .Net FW 1.1
> > with
> > > > all service packs installed and all patches loaded.
> > > >
> > > > This app ran before, all the files are there, the two applications
> > > > (dominican.dll and docinicanservices.dll) are both installed as
> > > applications
> > > > in IIS.
> > > >
> > > > I've attached screenshots of the IIS config, just to give a better
> > picture
> > > > of what the setup looks like.
> > > >
> > > > The Code that doesn't run is in the reference.cs file, line 37.
> > > >
> > > > Question: Is there something else I have to load, register, install,
> etc
> > > to
> > > > get these calls to be succesful. It seems it's in
system.web.services.
Show quote
> > > where
> > > > this is located, but I cannot find this?
> > > >
> > > > Thanks
> > > >
> > > > Roland
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Author
14 Jan 2005 4:51 PM
Roland Giesler
Show quote
"Nick Malik [Microsoft]" <nickmalik@hotmail.nospam.com> wrote in message
news:D-6dnbjZ0qz6RXrcRVn-jA@comcast.com...
> Your app is calling a web service.  It cannot find the web service,
probably
> because the app's web.config file should be set to point at it, and you
have
> not modified the web.config appropriately.
>
> It is possible that the developer didn't code the application correctly,
and
> it is not referring to a web.config file to get the URL of the web
service.
> In that case, you will probably need to make sure that the virtual
directory
> that contains the web service has the same name as the application expects
> it to have.
You're right, the developer hardcoded the path, but I have spoken to him at
length and insists all the paths are correct.  He doesn't know why it
doesn't work now, since it did before.

>
> BTW: I don't know why anyone would suggest that you browse anything at
> tempuri.org... it's a fake address.  I don't know how or why you made it
> work, because you say that it does work.  It shouldn't work.
The URL resolves and shows a web page with informaiton about namespaces, so
it resolves, but I understand that it's just there for humans reading it,
not for computers software to actualy access.

I'm re-installing the server at the moment, hoping that somehow I can solve
the problem.  I've had very few responses on the topic both on newsgroups
and web support  forums.

Regards

Roland

Show quote
>
> --
> --- Nick Malik [Microsoft]
>     MCSD, CFPS, Certified Scrummaster
>     http://blogs.msdn.com/nickmalik
>
> Disclaimer: Opinions expressed in this forum are my own, and not
> representative of my employer.
>    I do not answer questions on behalf of my employer.  I'm just a
> programmer helping programmers.
> --
> "Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
> news:%23$Tzd8h%23EHA.2608@TK2MSFTNGP10.phx.gbl...
> > Nick, I did what you suggested, but it makes not difference.
> > Have a look at what someone elsewhere suggested and what I reported
> >
> > > Make sure you can browse
> > http://localhost/Dominican/DominicanServices/Users.asmx...
> > > If not create an virtual directory name [Dominican] on your IIS and
> point
> > it to your project
> > > and browse it again...
> >
> > > Also make sure you are able to browse
> > http://tempuri.org/GetAuthenticatedUserData from the server.
> >
> > I  can both browse http://tempuri.org/GetAuthenticatedUserData and
> > http://localhost/Dominican/DominicanServices/Users.asmx.  If I click
> > GetAuthenticatedUserData on the users page, it's prompts me for the
three
> > parameters required by the web service.  It all appears 100% correct.
> >
> > Any other things I can check?
> >
> > Roland
> >
> >
> > "Nick Malik [Microsoft]" <nickmalik@hotmail.nospam.com> wrote in message
> > news:8K6dnei4HKIIp3vcRVn-oQ@comcast.com...
> > > you may need to reregister ASP.NET.
> > >
> > > see http://support.microsoft.com/default.aspx?scid=kb;en-us;306005
> > >
> > > --
> > > --- Nick Malik [Microsoft]
> > >     MCSD, CFPS, Certified Scrummaster
> > >     http://blogs.msdn.com/nickmalik
> > >
> > > Disclaimer: Opinions expressed in this forum are my own, and not
> > > representative of my employer.
> > >    I do not answer questions on behalf of my employer.  I'm just a
> > > programmer helping programmers.
> > > --
> > > "Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
> > > news:%23d76o0M%23EHA.1084@tk2msftngp13.phx.gbl...
> > > >
> > > > "Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
> > > > news:#P$nS6I#EHA.3592@TK2MSFTNGP09.phx.gbl...
> > > > > I have an CS app that I had to re-install after rebuilding a
server,
> > but
> > > > > can't get it to run.  It's a C# .net web application, which
accesses
> a
> > > SQL
> > > > > server DB.  When the page is loaded it crashes in a file
> > .\Dominican\Web
> > > > > References\Users\Reference.cs.  This file is auto created by
Visual
> > > Studio
> > > > > and has a number of calls implemented, "GetAuthenticatedUserData"
> > being
> > > > the
> > > > > one that is not found, so IIS gives the error 404.
> > > > >
> > > > > My env is Windows 2000 AS, with SQL Server EE, MDAC 2.8, .Net FW
1.1
> > > with
> > > > > all service packs installed and all patches loaded.
> > > > >
> > > > > This app ran before, all the files are there, the two applications
> > > > > (dominican.dll and docinicanservices.dll) are both installed as
> > > > applications
> > > > > in IIS.
> > > > >
> > > > > I've attached screenshots of the IIS config, just to give a better
> > > picture
> > > > > of what the setup looks like.
> > > > >
> > > > > The Code that doesn't run is in the reference.cs file, line 37.
> > > > >
> > > > > Question: Is there something else I have to load, register,
install,
> > etc
> > > > to
> > > > > get these calls to be succesful. It seems it's in
> system.web.services.
> > > > where
> > > > > this is located, but I cannot find this?
> > > > >
> > > > > Thanks
> > > > >
> > > > > Roland
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Author
15 Jan 2005 4:51 PM
Nick Malik [Microsoft]
hello Roland,

can you get the developer to fix his app so that it refers to the config
file for the URL of the web service?

It is a simple change to make.  In every place in the code (on the calling
side) where you create an object of the types exposed by the web service,
you insert a single line of code:

   MyWebObject wo = new MyWebObject();

   wo.Url = ConfigurationSettings.AppSettings["WebServicePath"];   // <--
the new line to be added

   wo.CallTheMethodNow(yada,yada,yada);

--
--- Nick Malik [Microsoft]
    MCSD, CFPS, Certified Scrummaster
    http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
   I do not answer questions on behalf of my employer.  I'm just a
programmer helping programmers.
--
Show quote
"Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
news:eTm8All%23EHA.2180@TK2MSFTNGP10.phx.gbl...
> "Nick Malik [Microsoft]" <nickmalik@hotmail.nospam.com> wrote in message
> news:D-6dnbjZ0qz6RXrcRVn-jA@comcast.com...
> > Your app is calling a web service.  It cannot find the web service,
> probably
> > because the app's web.config file should be set to point at it, and you
> have
> > not modified the web.config appropriately.
> >
> > It is possible that the developer didn't code the application correctly,
> and
> > it is not referring to a web.config file to get the URL of the web
> service.
> > In that case, you will probably need to make sure that the virtual
> directory
> > that contains the web service has the same name as the application
expects
> > it to have.
> You're right, the developer hardcoded the path, but I have spoken to him
at
> length and insists all the paths are correct.  He doesn't know why it
> doesn't work now, since it did before.
>
> >
> > BTW: I don't know why anyone would suggest that you browse anything at
> > tempuri.org... it's a fake address.  I don't know how or why you made it
> > work, because you say that it does work.  It shouldn't work.
> The URL resolves and shows a web page with informaiton about namespaces,
so
> it resolves, but I understand that it's just there for humans reading it,
> not for computers software to actualy access.
>
> I'm re-installing the server at the moment, hoping that somehow I can
solve
> the problem.  I've had very few responses on the topic both on newsgroups
> and web support  forums.
>
> Regards
>
> Roland
>
> >
> > --
> > --- Nick Malik [Microsoft]
> >     MCSD, CFPS, Certified Scrummaster
> >     http://blogs.msdn.com/nickmalik
> >
> > Disclaimer: Opinions expressed in this forum are my own, and not
> > representative of my employer.
> >    I do not answer questions on behalf of my employer.  I'm just a
> > programmer helping programmers.
> > --
> > "Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
> > news:%23$Tzd8h%23EHA.2608@TK2MSFTNGP10.phx.gbl...
> > > Nick, I did what you suggested, but it makes not difference.
> > > Have a look at what someone elsewhere suggested and what I reported
> > >
> > > > Make sure you can browse
> > > http://localhost/Dominican/DominicanServices/Users.asmx...
> > > > If not create an virtual directory name [Dominican] on your IIS and
> > point
> > > it to your project
> > > > and browse it again...
> > >
> > > > Also make sure you are able to browse
> > > http://tempuri.org/GetAuthenticatedUserData from the server.
> > >
> > > I  can both browse http://tempuri.org/GetAuthenticatedUserData and
> > > http://localhost/Dominican/DominicanServices/Users.asmx.  If I click
> > > GetAuthenticatedUserData on the users page, it's prompts me for the
> three
> > > parameters required by the web service.  It all appears 100% correct.
> > >
> > > Any other things I can check?
> > >
> > > Roland
> > >
> > >
> > > "Nick Malik [Microsoft]" <nickmalik@hotmail.nospam.com> wrote in
message
> > > news:8K6dnei4HKIIp3vcRVn-oQ@comcast.com...
> > > > you may need to reregister ASP.NET.
> > > >
> > > > see http://support.microsoft.com/default.aspx?scid=kb;en-us;306005
> > > >
> > > > --
> > > > --- Nick Malik [Microsoft]
> > > >     MCSD, CFPS, Certified Scrummaster
> > > >     http://blogs.msdn.com/nickmalik
> > > >
> > > > Disclaimer: Opinions expressed in this forum are my own, and not
> > > > representative of my employer.
> > > >    I do not answer questions on behalf of my employer.  I'm just a
> > > > programmer helping programmers.
> > > > --
> > > > "Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
> > > > news:%23d76o0M%23EHA.1084@tk2msftngp13.phx.gbl...
> > > > >
> > > > > "Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
> > > > > news:#P$nS6I#EHA.3592@TK2MSFTNGP09.phx.gbl...
> > > > > > I have an CS app that I had to re-install after rebuilding a
> server,
> > > but
> > > > > > can't get it to run.  It's a C# .net web application, which
> accesses
> > a
> > > > SQL
> > > > > > server DB.  When the page is loaded it crashes in a file
> > > .\Dominican\Web
> > > > > > References\Users\Reference.cs.  This file is auto created by
> Visual
> > > > Studio
> > > > > > and has a number of calls implemented,
"GetAuthenticatedUserData"
> > > being
> > > > > the
> > > > > > one that is not found, so IIS gives the error 404.
> > > > > >
> > > > > > My env is Windows 2000 AS, with SQL Server EE, MDAC 2.8, .Net FW
> 1.1
> > > > with
> > > > > > all service packs installed and all patches loaded.
> > > > > >
> > > > > > This app ran before, all the files are there, the two
applications
> > > > > > (dominican.dll and docinicanservices.dll) are both installed as
> > > > > applications
> > > > > > in IIS.
> > > > > >
> > > > > > I've attached screenshots of the IIS config, just to give a
better
> > > > picture
> > > > > > of what the setup looks like.
> > > > > >
> > > > > > The Code that doesn't run is in the reference.cs file, line 37.
> > > > > >
> > > > > > Question: Is there something else I have to load, register,
> install,
> > > etc
> > > > > to
> > > > > > get these calls to be succesful. It seems it's in
> > system.web.services.
> > > > > where
> > > > > > this is located, but I cannot find this?
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > > Roland
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Author
16 Jan 2005 10:22 AM
Roland Giesler
Since the developer has left the company, I can make the changes myself.
I'm actuially here continue development of this app and it's database, but
first it has to run properly in it's current form, something that has eluded
me this far.... :-(

I'll mail you as soon as I'm made the change.

regards,
Roland

Show quote
"Nick Malik [Microsoft]" <nickmalik@hotmail.nospam.com> wrote in message
news:f9udnY4goNBC1HTcRVn-ig@comcast.com...
> hello Roland,
>
> can you get the developer to fix his app so that it refers to the config
> file for the URL of the web service?
>
> It is a simple change to make.  In every place in the code (on the calling
> side) where you create an object of the types exposed by the web service,
> you insert a single line of code:
>
>    MyWebObject wo = new MyWebObject();
>
>    wo.Url = ConfigurationSettings.AppSettings["WebServicePath"];   // <--
> the new line to be added
>
>    wo.CallTheMethodNow(yada,yada,yada);
>
> --
> --- Nick Malik [Microsoft]
>     MCSD, CFPS, Certified Scrummaster
>     http://blogs.msdn.com/nickmalik
Author
16 Jan 2005 12:00 PM
Roland Giesler
The problem has been resolved.  The app does a login into SQL server
somewhere in the early stages of starting up.  It uses ADO.net, but SQL
server never had the ASPNET user added to it's security config, which caused
the problem to manifest differently on WindowsXP than Windows 2000.  Since
adding the local machine's ASPNET user to SQL Server, everything works 100%

regards,
Roland Giesler
Stellenbosch
South Africa


Show quote
"Roland Giesler" <rol***@giesler.za.net.nospam> wrote in message
news:u7R8CV7#EHA.2112@TK2MSFTNGP14.phx.gbl...
> Since the developer has left the company, I can make the changes myself.
> I'm actuially here continue development of this app and it's database, but
> first it has to run properly in it's current form, something that has
eluded
> me this far.... :-(
>
> I'll mail you as soon as I'm made the change.
>
> regards,
> Roland
>
> "Nick Malik [Microsoft]" <    > wrote in message
> news:f9udnY4goNBC1HTcRVn-ig@comcast.com...
> > hello Roland,
> >
> > can you get the developer to fix his app so that it refers to the config
> > file for the URL of the web service?
> >
> > It is a simple change to make.  In every place in the code (on the
calling
> > side) where you create an object of the types exposed by the web
service,
> > you insert a single line of code:
> >
> >    MyWebObject wo = new MyWebObject();
> >
> >    wo.Url = ConfigurationSettings.AppSettings["WebServicePath"];   //
<--
> > the new line to be added
> >
> >    wo.CallTheMethodNow(yada,yada,yada);
> >
> > --
> > --- Nick Malik [Microsoft]
> >     MCSD, CFPS, Certified Scrummaster
> >     http://blogs.msdn.com/nickmalik
>
>

AddThis Social Bookmark Button