473,761 Members | 8,011 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WebServices break after upgrade to Framework 1.1

I recently upgraded my server to Windows 2003. The first thing I noticed is
that my sample WebService pages no longer worked. The Invoke test button is
missing. This is addresed by the following KB article:

Microsoft Knowledge Base Article - 819267
INFO: HTTP GET and HTTP POST Are Disabled by Default

http://support.microsoft.com/default...b;en-us;819267

The article advises that a new block be inserted into Web.config (or into
machine.config) .

<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>

OK, I used the advice in that article to adjust my web.config file and now
the Invoke button is restored on my WebService test pages. However, here's
what I get when I press the Invoke button:

File or assembly name _03c_moy.dll, or one of its dependencies, was not
found.

Press it again:
File or assembly name 7g5kkds2.dll, or one of its dependencies, was not
found.

And again:
File or assembly name 3ah-fp0w.dll, or one of its dependencies, was not
found.

Every time I invoke the service I get a messgae telling me that a randomly
named dll is not found. If you want, you can stop by
www.fpsnow.com/pdportal.asmx to check this out for yourself. Does anyone
know what's going on here? (I'd just like to stress that these service pages
were working flawlessly before the upgrade.)

Ancillary questions: My application was developed, compiled and targetd for
framework 1.0, since at the time that was, after all, the only framework in
existence. Now that the machine is upgraded with a new framework 1.1, does
the application run under its original framework or under the new framework?
Shouldn't applications be locked down to the framework to which they are
originally targeted?

Thanks for you help!

- Joe Geretz -
Nov 17 '05 #1
6 2079
I feel your pain. I had to do open heart surgery on my webservice this week
after a 1.1 upgrade. I've hit your site and it's currently about 2 minutes
in without a response. Here are a couple things to check. If you are hitting
some sort of database on the back end using oledb or odbc drivers you will
need to remove all your references and delete the assembly from the bin. 1.1
now has these assemblies in the framework and they are made available in the
system.data.ole db/odbc namespace. They conflict and cause all sorts of grief
if you leave them in there. Do a full rebuild on your project including all
satellite assemblies. Hit the page from the server itself, ie-local then hit
the page from outside. it should work.
By the way, your webservice timed out.
hth
"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:uU******** ******@TK2MSFTN GP10.phx.gbl...
I recently upgraded my server to Windows 2003. The first thing I noticed is that my sample WebService pages no longer worked. The Invoke test button is missing. This is addresed by the following KB article:

Microsoft Knowledge Base Article - 819267
INFO: HTTP GET and HTTP POST Are Disabled by Default

http://support.microsoft.com/default...b;en-us;819267

The article advises that a new block be inserted into Web.config (or into
machine.config) .

<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>

OK, I used the advice in that article to adjust my web.config file and now
the Invoke button is restored on my WebService test pages. However, here's
what I get when I press the Invoke button:

File or assembly name _03c_moy.dll, or one of its dependencies, was not
found.

Press it again:
File or assembly name 7g5kkds2.dll, or one of its dependencies, was not
found.

And again:
File or assembly name 3ah-fp0w.dll, or one of its dependencies, was not
found.

Every time I invoke the service I get a messgae telling me that a randomly
named dll is not found. If you want, you can stop by
www.fpsnow.com/pdportal.asmx to check this out for yourself. Does anyone
know what's going on here? (I'd just like to stress that these service pages were working flawlessly before the upgrade.)

Ancillary questions: My application was developed, compiled and targetd for framework 1.0, since at the time that was, after all, the only framework in existence. Now that the machine is upgraded with a new framework 1.1, does
the application run under its original framework or under the new framework? Shouldn't applications be locked down to the framework to which they are
originally targeted?

Thanks for you help!

- Joe Geretz -

Nov 17 '05 #2
no i meant rebuilding your webservice project and redeploying it. when you
upgrade to framework 1.1, iis is remapped to work off of 1.1 and not 1.0

i'm not behind a firewall
"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:ub******** ******@tk2msftn gp13.phx.gbl...
Hi Alvin,

Thanks for your response.
after a 1.1 upgrade. I've hit your site and it's currently about 2 minutes
in without a response.


I just hit the site and it is up and running. Unfortunately, my web server
must run on port 81 since my service provider blocks access to port 80. If
you are behind a firewall which blocks access to nonstandard ports, you
won't be able to hit my site at all.
some sort of database on the back end using oledb or odbc drivers you will need to remove all your references and delete the assembly from the bin.

1.1

I'm not doing any of this stuff.
if you leave them in there. Do a full rebuild on your project including

all
satellite assemblies.


I guess you mean a full rebuild for framework 1.1? But I'm using the
original VS release for framework 1.0. Can I upgrade for free to 1.1?

Thanks,

- Joe Geretz -
"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:uU******** ******@TK2MSFTN GP10.phx.gbl...
I recently upgraded my server to Windows 2003. The first thing I noticed
is
that my sample WebService pages no longer worked. The Invoke test
button is
missing. This is addresed by the following KB article:

Microsoft Knowledge Base Article - 819267
INFO: HTTP GET and HTTP POST Are Disabled by Default

http://support.microsoft.com/default...b;en-us;819267

The article advises that a new block be inserted into Web.config (or into machine.config) .

<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>

OK, I used the advice in that article to adjust my web.config file and now the Invoke button is restored on my WebService test pages. However, here's what I get when I press the Invoke button:

File or assembly name _03c_moy.dll, or one of its dependencies, was
not found.

Press it again:
File or assembly name 7g5kkds2.dll, or one of its dependencies, was not found.

And again:
File or assembly name 3ah-fp0w.dll, or one of its dependencies, was not found.

Every time I invoke the service I get a messgae telling me that a

randomly named dll is not found. If you want, you can stop by
www.fpsnow.com/pdportal.asmx to check this out for yourself. Does anyone know what's going on here? (I'd just like to stress that these service

pages
were working flawlessly before the upgrade.)

Ancillary questions: My application was developed, compiled and targetd for
framework 1.0, since at the time that was, after all, the only
framework
in
existence. Now that the machine is upgraded with a new framework 1.1,

does the application run under its original framework or under the new

framework?
Shouldn't applications be locked down to the framework to which they

are originally targeted?

Thanks for you help!

- Joe Geretz -



Nov 17 '05 #3
Hi Alvin,

I redeployed the entire application. Things just took a nasty turn for the
worse. Now the entire site is broken. I've reproduced the error stack below.
In an effort to address this I placed the ASPNET user into Administrators
and Domain Administrators, but I still get this error. How can access be
denied to an Administrator?

Thanks

- Joe Geretz -
Server Error in '/FPSNow' Application.
----------------------------------------------------------------------------
----

Access to the path "C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary
ASP.NET Files\fpsnow\44 aff0e0\eb59b9a4 \hash.web" is denied.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Unauthor izedAccessExcep tion: Access to the path
"C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary ASP.NET
Files\fpsnow\44 aff0e0\eb59b9a4 \hash.web" is denied.

ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNE T on IIS 5 or
Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="tr ue"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAM E) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer,
choose "Properties " and select the Security tab. Click "Add" to add the
appropriate user or group. Highlight the ASP.NET account, and check the
boxes for the desired access.

Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[UnauthorizedAcc essException: Access to the path
"C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary ASP.NET
Files\fpsnow\44 aff0e0\eb59b9a4 \hash.web" is denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean
bFromProxy) +888
System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize) +44
System.IO.Strea mWriter.CreateF ile(String path, Boolean append) +55
System.IO.Strea mWriter..ctor(S tring path, Boolean append, Encoding
encoding, Int32 bufferSize) +49
System.IO.Strea mWriter..ctor(S tring path, Boolean append, Encoding
encoding) +20

System.Web.Comp ilation.Preserv edAssemblyEntry .WritePreserved SpecialFilesCom b
inedHash(Int64 hash) +165
System.Web.Comp ilation.Preserv edAssemblyEntry .DoFirstTimeIni t(HttpContext
context) +848

System.Web.Comp ilation.Preserv edAssemblyEntry .EnsureFirstTim eInit(HttpConte x
t context) +98

System.Web.Comp ilation.Preserv edAssemblyEntry .GetPreservedAs semblyEntry(Htt p
Context context, String virtualPath, Boolean fApplicationFil e) +28
System.Web.UI.T emplateParser.G etParserCacheIt emFromPreserved Compilation()
+91
System.Web.UI.T emplateParser.G etParserCacheIt emInternal(Bool ean
fCreateIfNotFou nd) +148
System.Web.UI.T emplateParser.G etParserCacheIt emWithNewConfig Path() +125
System.Web.UI.T emplateParser.G etParserCacheIt em() +87
System.Web.UI.A pplicationFileP arser.GetCompil edApplicationTy pe(String
inputFile, HttpContext context, ApplicationFile Parser& parser) +171
System.Web.Http ApplicationFact ory.CompileAppl ication(HttpCon text context)
+43
System.Web.Http ApplicationFact ory.Init(HttpCo ntext context) +485
System.Web.Http ApplicationFact ory.GetApplicat ionInstance(Htt pContext
context) +170
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr) +414

----------------------------------------------------------------------------
----

Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET
Version:1.1.432 2.573

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:%2******** ********@tk2msf tngp13.phx.gbl. ..
no i meant rebuilding your webservice project and redeploying it. when you
upgrade to framework 1.1, iis is remapped to work off of 1.1 and not 1.0

i'm not behind a firewall
"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:ub******** ******@tk2msftn gp13.phx.gbl...
Hi Alvin,

Thanks for your response.
after a 1.1 upgrade. I've hit your site and it's currently about 2 minutes in without a response.


I just hit the site and it is up and running. Unfortunately, my web server
must run on port 81 since my service provider blocks access to port 80. If you are behind a firewall which blocks access to nonstandard ports, you
won't be able to hit my site at all.
some sort of database on the back end using oledb or odbc drivers you will need to remove all your references and delete the assembly from the bin. 1.1

I'm not doing any of this stuff.
if you leave them in there. Do a full rebuild on your project
including
all
satellite assemblies.


I guess you mean a full rebuild for framework 1.1? But I'm using the
original VS release for framework 1.0. Can I upgrade for free to 1.1?

Thanks,

- Joe Geretz -
"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:uU******** ******@TK2MSFTN GP10.phx.gbl...
> I recently upgraded my server to Windows 2003. The first thing I noticed is
> that my sample WebService pages no longer worked. The Invoke test button is
> missing. This is addresed by the following KB article:
>
> Microsoft Knowledge Base Article - 819267
> INFO: HTTP GET and HTTP POST Are Disabled by Default
>
> http://support.microsoft.com/default...b;en-us;819267
>
> The article advises that a new block be inserted into Web.config (or

into
> machine.config) .
>
> <webServices>
> <protocols>
> <add name="HttpGet"/>
> <add name="HttpPost"/>
> </protocols>
> </webServices>
>
> OK, I used the advice in that article to adjust my web.config file
and now
> the Invoke button is restored on my WebService test pages. However,

here's
> what I get when I press the Invoke button:
>
> File or assembly name _03c_moy.dll, or one of its dependencies, was not > found.
>
> Press it again:
> File or assembly name 7g5kkds2.dll, or one of its dependencies, was not > found.
>
> And again:
> File or assembly name 3ah-fp0w.dll, or one of its dependencies, was not > found.
>
> Every time I invoke the service I get a messgae telling me that a

randomly
> named dll is not found. If you want, you can stop by
> www.fpsnow.com/pdportal.asmx to check this out for yourself. Does anyone > know what's going on here? (I'd just like to stress that these
service pages
> were working flawlessly before the upgrade.)
>
> Ancillary questions: My application was developed, compiled and

targetd for
> framework 1.0, since at the time that was, after all, the only framework in
> existence. Now that the machine is upgraded with a new framework
1.1, does
> the application run under its original framework or under the new
framework?
> Shouldn't applications be locked down to the framework to which they

are > originally targeted?
>
> Thanks for you help!
>
> - Joe Geretz -
>
>



Nov 17 '05 #4
Well, I finally fixed this.

First of all, I used aspnet_regiis to roll back my web app to use framework
1.0.

Then, for whatever reason (and I'll take a closer look at this) I needed to
add Everyone to be able to access
WINNT\Microsoft .NET\Framework\ v1.0.3705\Tempo rary ASP.NET Files AND
WINNT\Temp.

(I wonder if anyone can explain why TWO Temp folders are needed to run an
ASPX application? Who designed this? Some moron from the Microsoft Security
group?)

After fixing the problem with the security settings for the WINNT temp
folder, I bet I could switch this back up to framework 1.1. But no point
asking for trouble... Anyway, the site's back up and running now.

Thanks for your help!

- Joe Geretz -

"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:ep******** *****@tk2msftng p13.phx.gbl...
Hi Alvin,

I redeployed the entire application. Things just took a nasty turn for the
worse. Now the entire site is broken. I've reproduced the error stack below. In an effort to address this I placed the ASPNET user into Administrators
and Domain Administrators, but I still get this error. How can access be
denied to an Administrator?

Thanks

- Joe Geretz -
Server Error in '/FPSNow' Application.
-------------------------------------------------------------------------- -- ----

Access to the path "C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary
ASP.NET Files\fpsnow\44 aff0e0\eb59b9a4 \hash.web" is denied.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Unauthor izedAccessExcep tion: Access to the path
"C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary ASP.NET
Files\fpsnow\44 aff0e0\eb59b9a4 \hash.web" is denied.

ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNE T on IIS 5 or Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="tr ue"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAM E) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer,
choose "Properties " and select the Security tab. Click "Add" to add the
appropriate user or group. Highlight the ASP.NET account, and check the
boxes for the desired access.

Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[UnauthorizedAcc essException: Access to the path
"C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary ASP.NET
Files\fpsnow\44 aff0e0\eb59b9a4 \hash.web" is denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888
System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +44
System.IO.Strea mWriter.CreateF ile(String path, Boolean append) +55
System.IO.Strea mWriter..ctor(S tring path, Boolean append, Encoding
encoding, Int32 bufferSize) +49
System.IO.Strea mWriter..ctor(S tring path, Boolean append, Encoding
encoding) +20

System.Web.Comp ilation.Preserv edAssemblyEntry .WritePreserved SpecialFilesCom b inedHash(Int64 hash) +165
System.Web.Comp ilation.Preserv edAssemblyEntry .DoFirstTimeIni t(HttpContext context) +848

System.Web.Comp ilation.Preserv edAssemblyEntry .EnsureFirstTim eInit(HttpConte x t context) +98

System.Web.Comp ilation.Preserv edAssemblyEntry .GetPreservedAs semblyEntry(Htt p Context context, String virtualPath, Boolean fApplicationFil e) +28
System.Web.UI.T emplateParser.G etParserCacheIt emFromPreserved Compilation() +91
System.Web.UI.T emplateParser.G etParserCacheIt emInternal(Bool ean
fCreateIfNotFou nd) +148
System.Web.UI.T emplateParser.G etParserCacheIt emWithNewConfig Path() +125
System.Web.UI.T emplateParser.G etParserCacheIt em() +87
System.Web.UI.A pplicationFileP arser.GetCompil edApplicationTy pe(String
inputFile, HttpContext context, ApplicationFile Parser& parser) +171
System.Web.Http ApplicationFact ory.CompileAppl ication(HttpCon text context) +43
System.Web.Http ApplicationFact ory.Init(HttpCo ntext context) +485
System.Web.Http ApplicationFact ory.GetApplicat ionInstance(Htt pContext
context) +170
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr) +414


-------------------------------------------------------------------------- -- ----

Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:%2******** ********@tk2msf tngp13.phx.gbl. ..
no i meant rebuilding your webservice project and redeploying it. when you
upgrade to framework 1.1, iis is remapped to work off of 1.1 and not 1.0

i'm not behind a firewall
"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:ub******** ******@tk2msftn gp13.phx.gbl...
Hi Alvin,

Thanks for your response.

> after a 1.1 upgrade. I've hit your site and it's currently about 2 minutes
> in without a response.

I just hit the site and it is up and running. Unfortunately, my web server must run on port 81 since my service provider blocks access to port 80. If
you are behind a firewall which blocks access to nonstandard ports,
you won't be able to hit my site at all.

> some sort of database on the back end using oledb or odbc drivers you will
> need to remove all your references and delete the assembly from the bin. 1.1

I'm not doing any of this stuff.

> if you leave them in there. Do a full rebuild on your project including all
> satellite assemblies.

I guess you mean a full rebuild for framework 1.1? But I'm using the
original VS release for framework 1.0. Can I upgrade for free to 1.1?

Thanks,

- Joe Geretz -

> "Joseph Geretz" <jg*****@nospam .com> wrote in message
> news:uU******** ******@TK2MSFTN GP10.phx.gbl...
> > I recently upgraded my server to Windows 2003. The first thing I

noticed
> is
> > that my sample WebService pages no longer worked. The Invoke test

button
> is
> > missing. This is addresed by the following KB article:
> >
> > Microsoft Knowledge Base Article - 819267
> > INFO: HTTP GET and HTTP POST Are Disabled by Default
> >
> > http://support.microsoft.com/default...b;en-us;819267
> >
> > The article advises that a new block be inserted into Web.config
(or into
> > machine.config) .
> >
> > <webServices>
> > <protocols>
> > <add name="HttpGet"/>
> > <add name="HttpPost"/>
> > </protocols>
> > </webServices>
> >
> > OK, I used the advice in that article to adjust my web.config file

and now
> > the Invoke button is restored on my WebService test pages. However, here's
> > what I get when I press the Invoke button:
> >
> > File or assembly name _03c_moy.dll, or one of its dependencies,
was not
> > found.
> >
> > Press it again:
> > File or assembly name 7g5kkds2.dll, or one of its dependencies,
was not
> > found.
> >
> > And again:
> > File or assembly name 3ah-fp0w.dll, or one of its dependencies,
was not
> > found.
> >
> > Every time I invoke the service I get a messgae telling me that a
randomly
> > named dll is not found. If you want, you can stop by
> > www.fpsnow.com/pdportal.asmx to check this out for yourself. Does

anyone
> > know what's going on here? (I'd just like to stress that these service > pages
> > were working flawlessly before the upgrade.)
> >
> > Ancillary questions: My application was developed, compiled and

targetd
> for
> > framework 1.0, since at the time that was, after all, the only

framework
> in
> > existence. Now that the machine is upgraded with a new framework 1.1, does
> > the application run under its original framework or under the new
> framework?
> > Shouldn't applications be locked down to the framework to which

they are
> > originally targeted?
> >
> > Thanks for you help!
> >
> > - Joe Geretz -
> >
> >
>
>



Nov 17 '05 #5
That wouldn't do it. you need to give the asp net worker process at least
read access to the virtual directory from iis.

"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:ep******** *****@tk2msftng p13.phx.gbl...
Hi Alvin,

I redeployed the entire application. Things just took a nasty turn for the
worse. Now the entire site is broken. I've reproduced the error stack below. In an effort to address this I placed the ASPNET user into Administrators
and Domain Administrators, but I still get this error. How can access be
denied to an Administrator?

Thanks

- Joe Geretz -
Server Error in '/FPSNow' Application.
-------------------------------------------------------------------------- -- ----

Access to the path "C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary
ASP.NET Files\fpsnow\44 aff0e0\eb59b9a4 \hash.web" is denied.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Unauthor izedAccessExcep tion: Access to the path
"C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary ASP.NET
Files\fpsnow\44 aff0e0\eb59b9a4 \hash.web" is denied.

ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNE T on IIS 5 or Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="tr ue"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAM E) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer,
choose "Properties " and select the Security tab. Click "Add" to add the
appropriate user or group. Highlight the ASP.NET account, and check the
boxes for the desired access.

Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[UnauthorizedAcc essException: Access to the path
"C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary ASP.NET
Files\fpsnow\44 aff0e0\eb59b9a4 \hash.web" is denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888
System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +44
System.IO.Strea mWriter.CreateF ile(String path, Boolean append) +55
System.IO.Strea mWriter..ctor(S tring path, Boolean append, Encoding
encoding, Int32 bufferSize) +49
System.IO.Strea mWriter..ctor(S tring path, Boolean append, Encoding
encoding) +20

System.Web.Comp ilation.Preserv edAssemblyEntry .WritePreserved SpecialFilesCom b inedHash(Int64 hash) +165
System.Web.Comp ilation.Preserv edAssemblyEntry .DoFirstTimeIni t(HttpContext context) +848

System.Web.Comp ilation.Preserv edAssemblyEntry .EnsureFirstTim eInit(HttpConte x t context) +98

System.Web.Comp ilation.Preserv edAssemblyEntry .GetPreservedAs semblyEntry(Htt p Context context, String virtualPath, Boolean fApplicationFil e) +28
System.Web.UI.T emplateParser.G etParserCacheIt emFromPreserved Compilation() +91
System.Web.UI.T emplateParser.G etParserCacheIt emInternal(Bool ean
fCreateIfNotFou nd) +148
System.Web.UI.T emplateParser.G etParserCacheIt emWithNewConfig Path() +125
System.Web.UI.T emplateParser.G etParserCacheIt em() +87
System.Web.UI.A pplicationFileP arser.GetCompil edApplicationTy pe(String
inputFile, HttpContext context, ApplicationFile Parser& parser) +171
System.Web.Http ApplicationFact ory.CompileAppl ication(HttpCon text context) +43
System.Web.Http ApplicationFact ory.Init(HttpCo ntext context) +485
System.Web.Http ApplicationFact ory.GetApplicat ionInstance(Htt pContext
context) +170
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr) +414


-------------------------------------------------------------------------- -- ----

Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:%2******** ********@tk2msf tngp13.phx.gbl. ..
no i meant rebuilding your webservice project and redeploying it. when you
upgrade to framework 1.1, iis is remapped to work off of 1.1 and not 1.0

i'm not behind a firewall
"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:ub******** ******@tk2msftn gp13.phx.gbl...
Hi Alvin,

Thanks for your response.

> after a 1.1 upgrade. I've hit your site and it's currently about 2 minutes
> in without a response.

I just hit the site and it is up and running. Unfortunately, my web server must run on port 81 since my service provider blocks access to port 80. If
you are behind a firewall which blocks access to nonstandard ports,
you won't be able to hit my site at all.

> some sort of database on the back end using oledb or odbc drivers you will
> need to remove all your references and delete the assembly from the bin. 1.1

I'm not doing any of this stuff.

> if you leave them in there. Do a full rebuild on your project including all
> satellite assemblies.

I guess you mean a full rebuild for framework 1.1? But I'm using the
original VS release for framework 1.0. Can I upgrade for free to 1.1?

Thanks,

- Joe Geretz -

> "Joseph Geretz" <jg*****@nospam .com> wrote in message
> news:uU******** ******@TK2MSFTN GP10.phx.gbl...
> > I recently upgraded my server to Windows 2003. The first thing I

noticed
> is
> > that my sample WebService pages no longer worked. The Invoke test

button
> is
> > missing. This is addresed by the following KB article:
> >
> > Microsoft Knowledge Base Article - 819267
> > INFO: HTTP GET and HTTP POST Are Disabled by Default
> >
> > http://support.microsoft.com/default...b;en-us;819267
> >
> > The article advises that a new block be inserted into Web.config
(or into
> > machine.config) .
> >
> > <webServices>
> > <protocols>
> > <add name="HttpGet"/>
> > <add name="HttpPost"/>
> > </protocols>
> > </webServices>
> >
> > OK, I used the advice in that article to adjust my web.config file

and now
> > the Invoke button is restored on my WebService test pages. However, here's
> > what I get when I press the Invoke button:
> >
> > File or assembly name _03c_moy.dll, or one of its dependencies,
was not
> > found.
> >
> > Press it again:
> > File or assembly name 7g5kkds2.dll, or one of its dependencies,
was not
> > found.
> >
> > And again:
> > File or assembly name 3ah-fp0w.dll, or one of its dependencies,
was not
> > found.
> >
> > Every time I invoke the service I get a messgae telling me that a
randomly
> > named dll is not found. If you want, you can stop by
> > www.fpsnow.com/pdportal.asmx to check this out for yourself. Does

anyone
> > know what's going on here? (I'd just like to stress that these service > pages
> > were working flawlessly before the upgrade.)
> >
> > Ancillary questions: My application was developed, compiled and

targetd
> for
> > framework 1.0, since at the time that was, after all, the only

framework
> in
> > existence. Now that the machine is upgraded with a new framework 1.1, does
> > the application run under its original framework or under the new
> framework?
> > Shouldn't applications be locked down to the framework to which

they are
> > originally targeted?
> >
> > Thanks for you help!
> >
> > - Joe Geretz -
> >
> >
>
>



Nov 17 '05 #6
Hi Alvin,

Well first of all, the resource which can't be accessed is not the
application IIS virtual directory. It's the application cache directory.
Second, the ASPNET user (INTERNAL\ASPNE T is in fact authorized to read/write
files in this directory. So is SYSTEM. But unless I add Everyone with the
same access rights, no dice.

Same goes for the WINNT\Temp folder. This folder is not used for general
application pages, but it is used when the webservice is called.

Isn't INTERNAL\ASPNET the user credentials under which the application runs
when accessed anonymously? I'm baffled.

- Joe Geretz -

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:%2******** ********@tk2msf tngp13.phx.gbl. ..
That wouldn't do it. you need to give the asp net worker process at least
read access to the virtual directory from iis.

"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:ep******** *****@tk2msftng p13.phx.gbl...
Hi Alvin,

I redeployed the entire application. Things just took a nasty turn for the
worse. Now the entire site is broken. I've reproduced the error stack

below.
In an effort to address this I placed the ASPNET user into Administrators and Domain Administrators, but I still get this error. How can access be
denied to an Administrator?

Thanks

- Joe Geretz -
Server Error in '/FPSNow' Application.


--------------------------------------------------------------------------
--
----

Access to the path "C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary
ASP.NET Files\fpsnow\44 aff0e0\eb59b9a4 \hash.web" is denied.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Unauthor izedAccessExcep tion: Access to the path "C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary ASP.NET
Files\fpsnow\44 aff0e0\eb59b9a4 \hash.web" is denied.

ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNE T on IIS 5

or
Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="tr ue"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAM E) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties " and select the Security tab. Click "Add" to add the
appropriate user or group. Highlight the ASP.NET account, and check the
boxes for the desired access.

Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[UnauthorizedAcc essException: Access to the path
"C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary ASP.NET
Files\fpsnow\44 aff0e0\eb59b9a4 \hash.web" is denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess

access,
FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath,

Boolean
bFromProxy) +888
System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess

access,
FileShare share, Int32 bufferSize) +44
System.IO.Strea mWriter.CreateF ile(String path, Boolean append) +55
System.IO.Strea mWriter..ctor(S tring path, Boolean append, Encoding
encoding, Int32 bufferSize) +49
System.IO.Strea mWriter..ctor(S tring path, Boolean append, Encoding
encoding) +20

System.Web.Comp ilation.Preserv edAssemblyEntry .WritePreserved SpecialFilesCom b
inedHash(Int64 hash) +165

System.Web.Comp ilation.Preserv edAssemblyEntry .DoFirstTimeIni t(HttpContext
context) +848

System.Web.Comp ilation.Preserv edAssemblyEntry .EnsureFirstTim eInit(HttpConte x
t context) +98

System.Web.Comp ilation.Preserv edAssemblyEntry .GetPreservedAs semblyEntry(Htt p
Context context, String virtualPath, Boolean fApplicationFil e) +28

System.Web.UI.T emplateParser.G etParserCacheIt emFromPreserved Compilation()
+91
System.Web.UI.T emplateParser.G etParserCacheIt emInternal(Bool ean
fCreateIfNotFou nd) +148
System.Web.UI.T emplateParser.G etParserCacheIt emWithNewConfig Path() +125 System.Web.UI.T emplateParser.G etParserCacheIt em() +87
System.Web.UI.A pplicationFileP arser.GetCompil edApplicationTy pe(String
inputFile, HttpContext context, ApplicationFile Parser& parser) +171
System.Web.Http ApplicationFact ory.CompileAppl ication(HttpCon text

context)
+43
System.Web.Http ApplicationFact ory.Init(HttpCo ntext context) +485
System.Web.Http ApplicationFact ory.GetApplicat ionInstance(Htt pContext
context) +170
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr)

+414



--------------------------------------------------------------------------
--
----

Version Information: Microsoft .NET Framework Version:1.1.432 2.573;

ASP.NET
Version:1.1.432 2.573

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. ..
no i meant rebuilding your webservice project and redeploying it. when you upgrade to framework 1.1, iis is remapped to work off of 1.1 and not 1.0
i'm not behind a firewall
"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:ub******** ******@tk2msftn gp13.phx.gbl...
> Hi Alvin,
>
> Thanks for your response.
>
> > after a 1.1 upgrade. I've hit your site and it's currently about 2
minutes
> > in without a response.
>
> I just hit the site and it is up and running. Unfortunately, my web

server
> must run on port 81 since my service provider blocks access to port 80.
If
> you are behind a firewall which blocks access to nonstandard ports,

you > won't be able to hit my site at all.
>
> > some sort of database on the back end using oledb or odbc drivers you will
> > need to remove all your references and delete the assembly from the bin.
> 1.1
>
> I'm not doing any of this stuff.
>
> > if you leave them in there. Do a full rebuild on your project

including
> all
> > satellite assemblies.
>
> I guess you mean a full rebuild for framework 1.1? But I'm using the
> original VS release for framework 1.0. Can I upgrade for free to
1.1? >
> Thanks,
>
> - Joe Geretz -
>
> > "Joseph Geretz" <jg*****@nospam .com> wrote in message
> > news:uU******** ******@TK2MSFTN GP10.phx.gbl...
> > > I recently upgraded my server to Windows 2003. The first thing I
noticed
> > is
> > > that my sample WebService pages no longer worked. The Invoke test button
> > is
> > > missing. This is addresed by the following KB article:
> > >
> > > Microsoft Knowledge Base Article - 819267
> > > INFO: HTTP GET and HTTP POST Are Disabled by Default
> > >
> > > http://support.microsoft.com/default...b;en-us;819267
> > >
> > > The article advises that a new block be inserted into Web.config (or > into
> > > machine.config) .
> > >
> > > <webServices>
> > > <protocols>
> > > <add name="HttpGet"/>
> > > <add name="HttpPost"/>
> > > </protocols>
> > > </webServices>
> > >
> > > OK, I used the advice in that article to adjust my web.config file and
> now
> > > the Invoke button is restored on my WebService test pages. However, > here's
> > > what I get when I press the Invoke button:
> > >
> > > File or assembly name _03c_moy.dll, or one of its dependencies, was not
> > > found.
> > >
> > > Press it again:
> > > File or assembly name 7g5kkds2.dll, or one of its dependencies, was not
> > > found.
> > >
> > > And again:
> > > File or assembly name 3ah-fp0w.dll, or one of its dependencies, was not
> > > found.
> > >
> > > Every time I invoke the service I get a messgae telling me that
a > randomly
> > > named dll is not found. If you want, you can stop by
> > > www.fpsnow.com/pdportal.asmx to check this out for yourself. Does anyone
> > > know what's going on here? (I'd just like to stress that these

service
> > pages
> > > were working flawlessly before the upgrade.)
> > >
> > > Ancillary questions: My application was developed, compiled and
targetd
> > for
> > > framework 1.0, since at the time that was, after all, the only
framework
> > in
> > > existence. Now that the machine is upgraded with a new framework

1.1,
> does
> > > the application run under its original framework or under the new > > framework?
> > > Shouldn't applications be locked down to the framework to which

they are
> > > originally targeted?
> > >
> > > Thanks for you help!
> > >
> > > - Joe Geretz -
> > >
> > >
> >
> >
>
>




Nov 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1988
by: Mark | last post by:
I am preparing to upgrade a VS.NET ASP.NET project from version 1 to version 1.1. 1. Is it as simple as opening the project in VS.NET 2003? 2. Are there any issues to be aware of aside from not being able to open it in VS.NET 2002 after the upgrade? Thanks in advance! Mark
1
1361
by: Jinashe | last post by:
what do i need to enable accessing of webservices from a clients PC i'm hosting some webservices from my server in VB.NET. i've got some client windows applications done in VB.NET. what have i got to install on the clients PC to be able to access these webservices?? Will just the .NET Framework suffice??? Or do i have to install SOAP?? note - the OS of the client can be win98, win2K, win3000, winXP
2
1980
by: Antuane | last post by:
any one have any idea how transactions could be enabled in webservices. i.e., suppose i've got 2 methods - one to add a contact, & the other to set some miscellaneous details for the contact, in a webservice. Now the client uses the above two methods & if the client is happy with the return values of the above two methdos, ONLY then are the changes made on the server to be commited. (there'd be three other methods, begin-transaction,...
1
2164
by: Mike | last post by:
Hi all, I have written a webservice which I am using in my smartphone applicaiton. I have tried the webservice with a WinForms client and it works time and time again perfectly. When I include it in my smartphone application, it will work the first time and return ther query set, however when i try it again i get the following error : "Server found request content type to be 'text/html; charset=Windows-1252', but expected 'text/xml'."
0
975
by: Dominick Baier [DevelopMentor] | last post by:
..NET 2.0 adds a new tab to IIS webapp configuration. Be sure to select V2.0 here. Also under IIS6 - you can't run .NET 2.0 and 1.1 in the same worker process. you have to create a new app pool then. --- Dominick Baier - DevelopMentor http://www.leastprivilege.com
8
4013
by: Komandur Kannan | last post by:
We have a smart device application running on handhelds(Symbol MC9000G). The backend is Oracle and a middle tier web services development done in Vb.net. We use pessimistic Locking due to specific business needs When such a lock is made for a transaction (this code is in the web service) and the handhelds are terminated abnormally (cold booted or battery low), the lock still remains. The Web service's connection to oracle is still...
10
10580
by: smarty | last post by:
Hi, I have written a WSE in vis studio 2005 as and produced a dll that I can use in other projects by including the following in the web.config. <webservices> <soapextensiontypes> <add type="traceextension, simpleModule" priority="1" group="high"/> </soapExtensionTypes> </webservices>
2
1901
by: Basil | last post by:
Hello! Could you help me? How can I implement distributed transactions in Webservices, if I have Framework 1.1, WSE 2.0? Could you give me a few samples? Thanks.
6
1832
by: Ajith Menon | last post by:
I am working on a project "ABC" which needs to be upgraded from .NET framework 1.1. We are thinking about upgrading it to .NET framework 2.0. The reason for this is that we have some unmanaged modules (made in VC++) shared with other project "XYZ". The project "XYZ" is upgraded to .NET framework 2.0 from .NET framework 1.1. Now to have the compatibility, forcibly project ABC also have decided to upgrade to .NET 2.0. But I feel why not...
0
9554
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9988
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9811
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8813
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7358
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5266
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2788
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.