Showing posts with label machine. Show all posts
Showing posts with label machine. Show all posts

Thursday, March 22, 2012

Strange forms authentication

I have a ASP.NET app which uses forms authentication... This app is
currently on 2 different machines, my local "development" machine, and a
"testing server".

This app works perfectly on the testing server on most computers, but on one
in particular, there is a problem. When the user "logs in" using Forms
Authentication, they are directed to a page within the site, then kicked
out. This same computer can successfully log onto my development computer.
This computer also has more secure firewall and virus scanning than the
others - any idea what the problem could be? It does not seem to be a cookie
issue.

thnxCould be the Virus scanner.
It may affect files like web.config which causes re-starts of ASP.net.exe.
Try disabling it and see if it works.
--
Joe Fallon

"Ryan Moore" <ryanmoore@.hotmail.com> wrote in message
news:eaaIzjEPEHA.4036@.TK2MSFTNGP12.phx.gbl...
> I have a ASP.NET app which uses forms authentication... This app is
> currently on 2 different machines, my local "development" machine, and a
> "testing server".
> This app works perfectly on the testing server on most computers, but on
one
> in particular, there is a problem. When the user "logs in" using Forms
> Authentication, they are directed to a page within the site, then kicked
> out. This same computer can successfully log onto my development computer.
> This computer also has more secure firewall and virus scanning than the
> others - any idea what the problem could be? It does not seem to be a
cookie
> issue.
> thnx
Is it your computer name problem? try this:
Domains that use cookies must use only alphanumeric characters ("-" or ".")
in the domain name and the server name. Internet Explorer blocks cookies
from a server if the server name contains other characters, such as an
underscore character ("_").

http://support.microsoft.com/?id=316112

"Joe Fallon" <jfallon1@.nospamtwcny.rr.com> д?
news:e1uchsIPEHA.3748@.TK2MSFTNGP09.phx.gbl...
> Could be the Virus scanner.
> It may affect files like web.config which causes re-starts of ASP.net.exe.
> Try disabling it and see if it works.
> --
> Joe Fallon
>
>
> "Ryan Moore" <ryanmoore@.hotmail.com> wrote in message
> news:eaaIzjEPEHA.4036@.TK2MSFTNGP12.phx.gbl...
> > I have a ASP.NET app which uses forms authentication... This app is
> > currently on 2 different machines, my local "development" machine, and a
> > "testing server".
> > This app works perfectly on the testing server on most computers, but on
> one
> > in particular, there is a problem. When the user "logs in" using Forms
> > Authentication, they are directed to a page within the site, then kicked
> > out. This same computer can successfully log onto my development
computer.
> > This computer also has more secure firewall and virus scanning than the
> > others - any idea what the problem could be? It does not seem to be a
> cookie
> > issue.
> > thnx

Strange forms authentication

I have a ASP.NET app which uses forms authentication... This app is
currently on 2 different machines, my local "development" machine, and a
"testing server".
This app works perfectly on the testing server on most computers, but on one
in particular, there is a problem. When the user "logs in" using Forms
Authentication, they are directed to a page within the site, then kicked
out. This same computer can successfully log onto my development computer.
This computer also has more secure firewall and virus scanning than the
others - any idea what the problem could be? It does not seem to be a cookie
issue.
thnxCould be the Virus scanner.
It may affect files like web.config which causes re-starts of ASP.net.exe.
Try disabling it and see if it works.
--
Joe Fallon
"Ryan Moore" <ryanmoore@.hotmail.com> wrote in message
news:eaaIzjEPEHA.4036@.TK2MSFTNGP12.phx.gbl...
> I have a ASP.NET app which uses forms authentication... This app is
> currently on 2 different machines, my local "development" machine, and a
> "testing server".
> This app works perfectly on the testing server on most computers, but on
one
> in particular, there is a problem. When the user "logs in" using Forms
> Authentication, they are directed to a page within the site, then kicked
> out. This same computer can successfully log onto my development computer.
> This computer also has more secure firewall and virus scanning than the
> others - any idea what the problem could be? It does not seem to be a
cookie
> issue.
> thnx
>
Is it your computer name problem? try this:
Domains that use cookies must use only alphanumeric characters ("-" or ".")
in the domain name and the server name. Internet Explorer blocks cookies
from a server if the server name contains other characters, such as an
underscore character ("_").
http://support.microsoft.com/?id=316112
"Joe Fallon" <jfallon1@.nospamtwcny.rr.com> д?
news:e1uchsIPEHA.3748@.TK2MSFTNGP09.phx.gbl...
> Could be the Virus scanner.
> It may affect files like web.config which causes re-starts of ASP.net.exe.
> Try disabling it and see if it works.
> --
> Joe Fallon
>
>
> "Ryan Moore" <ryanmoore@.hotmail.com> wrote in message
> news:eaaIzjEPEHA.4036@.TK2MSFTNGP12.phx.gbl...
> one
computer.
> cookie
>

Tuesday, March 13, 2012

Strange Periodic Error When Debugging

I am building an asp.net application on my machine and every so often when i
press F5 to debug i get the following error. This is most annoying because
the only way to eleviate the error is reboot. Even iisreset does not work.
Please help.

Server Error in '/myapp' Application.
-----------------------
--

Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Access is denied: 'my_DAL'.

Source Error:

Line 196:<add assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197:<add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198:<add assembly="*"/>
Line 199:</assemblies>
Line 200:</compilation
Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config Line:
198

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'my_DAL' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = my_DAL
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/myappLOG: Initial PrivatePath =
bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: my_DAL
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/newtheodellsorg/218982ac/b733b907/my_DAL.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/newtheodellsorg/218982ac/b733b907/my_DAL/my_DAL.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/NewTheOdellsOrg/bin/Odell_DAL.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: my_DAL, Version=1.0.1602.18175, Culture=neutral,
PublicKeyToken=null

-----------------------
--
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573There is a nifty tool called ntfilemon which can be used to troubleshoot
File Access Permissions if one is a tech-savvy debugger. NTFileMon is a free
File Monitoring tool provided by Systernals or SysInternals. Check Google
for it

Secondly, I would check if you have the Indexing service enabled try going
to
Start -> Administration Tools -> Computer Management -> Services and
Applications -> Indexing Service -> System -> Directories
C:\WINNT\Microsoft.NET\Framework
Try Adding that directory by right clicking and going new -> Directory
Select "No" to Including index

http://support.microsoft.com/defaul...kb;en-us;329065

Hope this helps

savv
"TJO" <no@.spam.net> wrote in message
news:uSUwOq3PEHA.2704@.TK2MSFTNGP10.phx.gbl...
>I am building an asp.net application on my machine and every so often when
>i
> press F5 to debug i get the following error. This is most annoying
> because
> the only way to eleviate the error is reboot. Even iisreset does not
> work.
> Please help.
>
> Server Error in '/myapp' Application.
> -----------------------
> --
> Configuration Error
> Description: An error occurred during the processing of a configuration
> file
> required to service this request. Please review the specific error details
> below and modify your configuration file appropriately.
> Parser Error Message: Access is denied: 'my_DAL'.
> Source Error:
> Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 198: <add assembly="*"/>
> Line 199: </assemblies>
> Line 200: </compilation>
> Source File:
> c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config
> Line:
> 198
> Assembly Load Trace: The following information can be helpful to determine
> why the assembly 'my_DAL' could not be loaded.
> === Pre-bind state information ===
> LOG: DisplayName = my_DAL
> (Partial)
> LOG: Appbase = file:///c:/inetpub/wwwroot/myappLOG: Initial PrivatePath =
> bin
> Calling assembly : (Unknown).
> ===
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: my_DAL
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/newtheodellsorg/218982ac/b733b907/my_DAL.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/newtheodellsorg/218982ac/b733b907/my_DAL/my_DAL.DLL.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/NewTheOdellsOrg/bin/Odell_DAL.DLL.
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: my_DAL, Version=1.0.1602.18175,
> Culture=neutral,
> PublicKeyToken=null
>
> -----------------------
> --
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET
> Version:1.1.4322.573

Strange Periodic Error When Debugging

I am building an asp.net application on my machine and every so often when i
press F5 to debug i get the following error. This is most annoying because
the only way to eleviate the error is reboot. Even iisreset does not work.
Please help.
Server Error in '/myapp' Application.
----
--
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: Access is denied: 'my_DAL'.
Source Error:
Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>
Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line:
198
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'my_DAL' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = my_DAL
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/myappLOG: Initial PrivatePath =
bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: my_DAL
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/newtheodellsorg/218982ac/b733b907/my_DAL.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/newtheodellsorg/218982ac/b733b907/my_DAL/my_DAL.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/NewTheOdellsOrg/bin/Odell_DAL.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: my_DAL, Version=1.0.1602.18175, Culture=neutral,
PublicKeyToken=null
----
--
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573There is a nifty tool called ntfilemon which can be used to troubleshoot
File Access Permissions if one is a tech-savvy debugger. NTFileMon is a free
File Monitoring tool provided by Systernals or SysInternals. Check Google
for it
Secondly, I would check if you have the Indexing service enabled try going
to
Start -> Administration Tools -> Computer Management -> Services and
Applications -> Indexing Service -> System -> Directories
C:\WINNT\Microsoft.NET\Framework
Try Adding that directory by right clicking and going new -> Directory
Select "No" to Including index
http://support.microsoft.com/defaul...kb;en-us;329065
Hope this helps
savv
"TJO" <no@.spam.net> wrote in message
news:uSUwOq3PEHA.2704@.TK2MSFTNGP10.phx.gbl...
>I am building an asp.net application on my machine and every so often when
>i
> press F5 to debug i get the following error. This is most annoying
> because
> the only way to eleviate the error is reboot. Even iisreset does not
> work.
> Please help.
>
> Server Error in '/myapp' Application.
> ----
--
> --
> Configuration Error
> Description: An error occurred during the processing of a configuration
> file
> required to service this request. Please review the specific error details
> below and modify your configuration file appropriately.
> Parser Error Message: Access is denied: 'my_DAL'.
> Source Error:
> Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 198: <add assembly="*"/>
> Line 199: </assemblies>
> Line 200: </compilation>
> Source File:
> c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config
> Line:
> 198
> Assembly Load Trace: The following information can be helpful to determine
> why the assembly 'my_DAL' could not be loaded.
> === Pre-bind state information ===
> LOG: DisplayName = my_DAL
> (Partial)
> LOG: Appbase = file:///c:/inetpub/wwwroot/myappLOG: Initial PrivatePath =
> bin
> Calling assembly : (Unknown).
> ===
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: my_DAL
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/newtheodellsorg/218982ac/b733b907/my_DAL.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/newtheodellsorg/218982ac/b733b907/my_DAL/my_DAL.DLL.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/NewTheOdellsOrg/bin/Odell_DAL.DLL.
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: my_DAL, Version=1.0.1602.18175,
> Culture=neutral,
> PublicKeyToken=null
>
> ----
--
> --
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET
> Version:1.1.4322.573
>

Strange Phenom

Hey all,

I deployed an asp.net app that has only 2 forms in it to a hosting service.
When I surfed to it on from xp machine that app worked fine.
However, if I surf from a pc that has win98 on it but all the latest service
packs on it, i can get to the first form but when i select a record to goto
the 2nd form it just posts back to the 1st form. Any ideas?

thanks,
rodcharI had simular problems before and it always came down to me having to run
the following commands on my server:

aspnet_regiis.exe -i
aspnet_regiis.exe -c

This would correct the ISAPI mappings and the WebValidation.js file for the
framework version that I compiled the application with. Since it is a
hosting situation, and I doubt you will able to have those commands run, you
just might check which version your hosting service is using and make sure
you compile your application using that version of the framework.

HTH

-Chris

"rodchar" <rodchar@.discussions.microsoft.com> wrote in message
news:36F1F1F9-A4EA-4119-9CB1-F63239103722@.microsoft.com...
> Hey all,
> I deployed an asp.net app that has only 2 forms in it to a hosting
> service.
> When I surfed to it on from xp machine that app worked fine.
> However, if I surf from a pc that has win98 on it but all the latest
> service
> packs on it, i can get to the first form but when i select a record to
> goto
> the 2nd form it just posts back to the 1st form. Any ideas?
> thanks,
> rodchar
Thank you.

"Chris Austin" wrote:

> I had simular problems before and it always came down to me having to run
> the following commands on my server:
> aspnet_regiis.exe -i
> aspnet_regiis.exe -c
> This would correct the ISAPI mappings and the WebValidation.js file for the
> framework version that I compiled the application with. Since it is a
> hosting situation, and I doubt you will able to have those commands run, you
> just might check which version your hosting service is using and make sure
> you compile your application using that version of the framework.
> HTH
> -Chris
> "rodchar" <rodchar@.discussions.microsoft.com> wrote in message
> news:36F1F1F9-A4EA-4119-9CB1-F63239103722@.microsoft.com...
> > Hey all,
> > I deployed an asp.net app that has only 2 forms in it to a hosting
> > service.
> > When I surfed to it on from xp machine that app worked fine.
> > However, if I surf from a pc that has win98 on it but all the latest
> > service
> > packs on it, i can get to the first form but when i select a record to
> > goto
> > the 2nd form it just posts back to the 1st form. Any ideas?
> > thanks,
> > rodchar
>

Strange Phenom

Hey all,
I deployed an asp.net app that has only 2 forms in it to a hosting service.
When I surfed to it on from xp machine that app worked fine.
However, if I surf from a pc that has win98 on it but all the latest service
packs on it, i can get to the first form but when i select a record to goto
the 2nd form it just posts back to the 1st form. Any ideas?
thanks,
rodcharI had simular problems before and it always came down to me having to run
the following commands on my server:
aspnet_regiis.exe -i
aspnet_regiis.exe -c
This would correct the ISAPI mappings and the WebValidation.js file for the
framework version that I compiled the application with. Since it is a
hosting situation, and I doubt you will able to have those commands run, you
just might check which version your hosting service is using and make sure
you compile your application using that version of the framework.
HTH
-Chris
"rodchar" <rodchar@.discussions.microsoft.com> wrote in message
news:36F1F1F9-A4EA-4119-9CB1-F63239103722@.microsoft.com...
> Hey all,
> I deployed an asp.net app that has only 2 forms in it to a hosting
> service.
> When I surfed to it on from xp machine that app worked fine.
> However, if I surf from a pc that has win98 on it but all the latest
> service
> packs on it, i can get to the first form but when i select a record to
> goto
> the 2nd form it just posts back to the 1st form. Any ideas?
> thanks,
> rodchar
Thank you.
"Chris Austin" wrote:

> I had simular problems before and it always came down to me having to run
> the following commands on my server:
> aspnet_regiis.exe -i
> aspnet_regiis.exe -c
> This would correct the ISAPI mappings and the WebValidation.js file for th
e
> framework version that I compiled the application with. Since it is a
> hosting situation, and I doubt you will able to have those commands run, y
ou
> just might check which version your hosting service is using and make sure
> you compile your application using that version of the framework.
> HTH
> -Chris
> "rodchar" <rodchar@.discussions.microsoft.com> wrote in message
> news:36F1F1F9-A4EA-4119-9CB1-F63239103722@.microsoft.com...
>
>