Monday, November 10, 2008
Nested application does not authenticate correctly with parent application.
If you have a sub application which is nested in your main site in asp.net and the forms autentication is not working. Check that the nested application web.config does not have a mochine key setting.
Wednesday, November 5, 2008
URLUrlRewritingNet.UrlRewriter.dll and IIS7
URL Rewriter here can take some configuration for IIS 7 and Vista.
http://urlrewriter.net/index.php/support
To configure correctly please read this entry in this blog:
http://www.improve.dk/blog/2006/12/11/making-url-rewriting-on-iis7-work-like-iis6
http://urlrewriter.net/index.php/support
To configure correctly please read this entry in this blog:
http://www.improve.dk/blog/2006/12/11/making-url-rewriting-on-iis7-work-like-iis6
Labels:
IIS7,
URLReWrite,
URLReWriter,
UrlRewritingNet.UrlRewriter.dll
Sunday, November 2, 2008
You must be a member of the Administrators group on the local computer to access the IIS metabase. Therefore, you cannot create or open a local IIS Web site. If you have Read, Write, and Modify permissions for the folder where the files are located, you can create a file system Web site that points to the folder in order to edit the files.
Problem
Open Visual Studio 2005 and open website via IIS the following message is shown:
"You must be a member of the Administrators group on the local computer to access the IIS metabase. Therefore, you cannot create or open a local IIS Web site. If you have Read, Write, and Modify permissions for the folder where the files are located, you can create a file system Web site that points to the folder in order to edit the files."
Solution
I then remembered an IIS 6 option under the Windows Features install dialog under Internet Information Services and found the following option that allows VS 2005 to play with IIS 7....IIS Metabase and IIS 6 configuration compatibility. Here are the steps:
Open Visual Studio 2005 and open website via IIS the following message is shown:
"You must be a member of the Administrators group on the local computer to access the IIS metabase. Therefore, you cannot create or open a local IIS Web site. If you have Read, Write, and Modify permissions for the folder where the files are located, you can create a file system Web site that points to the folder in order to edit the files."
Solution
I then remembered an IIS 6 option under the Windows Features install dialog under Internet Information Services and found the following option that allows VS 2005 to play with IIS 7....IIS Metabase and IIS 6 configuration compatibility. Here are the steps:
- Open Control Panel
- Open Programs
- Open Windows Features
- Expand Internet Information Services
- Expand Web Management Tools
- Expand IIS 6 Management Compatibility
- Check IIS Metabase and IIS 6 configuration compatibility
- Click OK
Friday, October 17, 2008
CLR has been unable to transition from COM context for 60 seconds
Error Message:
"The CLR has been unable to transition from COM context 0x197060 to COM context 0x196ef0 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations."
Solution:
1) I've read a few things about a config file, but I couldn't get this to work reliably. Instead, you can switch the MDA off by going to: Debug -> Exceptions -> Managed Debug Assistants and unchecking the ContextSwitchDeadlock item.
2) Don't see that option? Then you may have SP1 in Visual Studio 2005. To activate the window use this shortcut: "Ctrl-Alt-E" opens the window"
"The CLR has been unable to transition from COM context 0x197060 to COM context 0x196ef0 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations."
Solution:
1) I've read a few things about a config file, but I couldn't get this to work reliably. Instead, you can switch the MDA off by going to: Debug -> Exceptions -> Managed Debug Assistants and unchecking the ContextSwitchDeadlock item.
2) Don't see that option? Then you may have SP1 in Visual Studio 2005. To activate the window use this shortcut: "Ctrl-Alt-E" opens the window"
Tuesday, September 9, 2008
"please wait while windows configures itunes"
Problem
If you get this message after upgrading or installing itunes:
"please wait while windows configures itunes"
Followed by a reboot message that never fixes it self after a reboot.
Solution
From : http://discussions.apple.com/thread.jspa?messageID=5440570
go to start menu --> run
type regedit, press enter
go to computer/hkey_classes_root/
find pcast and right click it
click permissions
during the course of this you may get a message saying you cant change anything, but you can change who can change things. click ok on it.
click advanced, then owner tab
change the owner from administrator to whatever name you are using
click ok twice to get out of the pop-ups completely
right click pcast again
click permissions
click OWNER RIGHTS
by full control and read click the allow boxes.
click ok
all set!
If you get this message after upgrading or installing itunes:
"please wait while windows configures itunes"
Followed by a reboot message that never fixes it self after a reboot.
Solution
From : http://discussions.apple.com/thread.jspa?messageID=5440570
go to start menu --> run
type regedit, press enter
go to computer/hkey_classes_root/
find pcast and right click it
click permissions
during the course of this you may get a message saying you cant change anything, but you can change who can change things. click ok on it.
click advanced, then owner tab
change the owner from administrator to whatever name you are using
click ok twice to get out of the pop-ups completely
right click pcast again
click permissions
click OWNER RIGHTS
by full control and read click the allow boxes.
click ok
all set!
Wednesday, July 2, 2008
How to delete a windows service
If you are having issues deleting a windows service simply run this command in the dos prompt:
sc delete _service name_
Be sure to close the "services" windows management window as it gets confused and thinks it needs a reboot if the service is to be re-installed.
If using Windows 2000 then you will need to reinstall.
sc delete _service name_
Be sure to close the "services" windows management window as it gets confused and thinks it needs a reboot if the service is to be re-installed.
If using Windows 2000 then you will need to reinstall.
Sunday, June 22, 2008
Google App Engine - "'DatabaseWrapper' object has no attribute '_rollback'"
args = ("'DatabaseWrapper' object has no attribute '_rollback'",)
message = "'DatabaseWrapper' object has no attribute '_rollback'"
Subscribe to:
Comments (Atom)