Last post Jan 04, 2006 07:39 AM by XIII
Dec 28, 2005 11:22 AM|Donn Clark|LINK
following the directions on the welcome.html, I click on the menu 'Website' then ASP.NET Configuration ... the server pops up two instinces, one to Wesiste 1 which doesn't complete loading, and the secont to asp.netwebadminfiles which flashes an error that
I suspect is a time out then closes the brower window. Any suggestions on how to create the administive user? When I press ctrl-F5 the site works fine ... I'm on XPPro, VS2005, SQLExpress ...
Thanks, Donn Clark
Dec 28, 2005 01:05 PM|XIII|LINK
first try to execute the application. When you can navigate it without errors you close the browser and in vs.net 2005 go to the menu Website | ASP.NET Configuration. This'll start a browser application with which you can configure your application.
Dec 28, 2005 01:57 PM|styles|LINK
I had success by not creating the user in the Configurator, but simply running the site once and creating the user on the site registration page and then closed the site and used the configurator to activate the account and add the Administrator role to
the existing user.
I used this method for the Personal, Club, and Time Tracker C# starter kits without a single problem.
I tested the problem mentioned in the Club forum about making administator in the configurator and it not showing the members.aspx page and I was able to recreate the same issue, but have no solution except not to create the user in the Configurator only
to manage the roles on an existing user there.
Dec 29, 2005 12:49 AM|Donn Clark|LINK
Hello Kris and styles ... tried both your methods and I get theWebsite1 (Personal Web Site) up, but the Web Site Administration Tool says "An error was encountered. Please return to the previous page and try again." without any explaination ... since this
is a built in menu function in VS ... how can I debug to locate the problem?
Dec 29, 2005 01:31 AM|XIII|LINK
I had some problems when I switched from SQL Express to SQL Server 2005 giving me the same explainless stuff. I took a backup of my machine.config file and altered the original for the setting LocalSqlServer. After that I had some security problems but after
that was fixed I was ready to go.
If you still use SQL Express then you should check to see if there's a new .mdf made with the name "aspnetdb.mdf".
Dec 29, 2005 08:02 AM|Donn Clark|LINK
Hi Again Kris,
Yes, using SQLExpress, and yes, aspnetdb.mdf does exist in the following directory:
C:\Documents and Settings\Donn Clark\My Documents\Visual Studio 2005\WebSites\WebSite1
My guess is a global setting is wrong somewhere. When the local server icon comes up in the bottom right of the screen, I need to right click it and select "Open in Web Browser" to get the web site to display. I also need to right click the icon for the
ASP.NET Development Server and select "Open in Web Browser" to get the ASP.NET Configuration tool to show, with the error as previously stated.
The ASP.NET Development Server has the following Physical Path:
and the following virtual path:
which doesn't make sense to me as it is not calling a specific file to execute, but terminating with the name of a sub directory in both cases.
When I run in debug mode, the following portion is relative to calls when the ASP.NET Configuration would be called ... start debug, load web site (opens okay without right clicking icon), from menu select Website, then ASP.NET Configurataion (I know, this
is not correct, but trying to capture with debug any clues) and I get a browser that says "Action Cancelled" and it is quickly closed. Here are the last ten lines from the debug output:
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\66693d62\82d25cc6\App_global.asax.b2kcae6q.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Transactions\18.104.22.168__b77a5c561934e089\System.Transactions.dll', No symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\22.214.171.124__b03f5f7f11d50a3a\System.EnterpriseServices.dll', No symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\126.96.36.199__b03f5f7f11d50a3a\System.Web.Mobile.dll', No symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.RegularExpressions\188.8.131.52__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll', No symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\66693d62\82d25cc6\App_Web_cbpj3gfa.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\66693d62\82d25cc6\App_Theme_White.tg3iujno.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\66693d62\82d25cc6\App_Web_default.master.cdcab7d2.pzs4k_sp.dll', Symbols loaded.
The thread 0x4f4 has exited with code 0 (0x0).
The program ' WebDev.WebServer.EXE: Managed' has exited with code 0 (0x0).
Dec 29, 2005 03:23 PM|styles|LINK
Well that's bad news.
I have one "crazy" suggestion ... Start over with a clean new web site and use a name you have not previously used and try my method again. I found that trying to recreate the issue once I had screwed it up by using the Configurator I could not fix the one
I had nor delete and make a new site with the same name. I'm assuming you have made several WebSite1's or PersonalWebSite1's while working on this issue. There is some "holdover" or "hangover" some where.
Sorry that's all the idea I've got for you. I do not know how to run the configurator in debug either. I did see if I could attach with the database explorer, etc. and I still could even when it wouldn't run.
Dec 29, 2005 06:48 PM|Donn Clark|LINK
Dec 29, 2005 08:29 PM|Donn Clark|LINK
Jan 04, 2006 05:53 AM|smcgroarty|LINK
I had an issue where i could not create an admin user for the site but i ran aspreg_sql.exe on the remote database and then created a site on my local computer and edited my web.config to point to that database and was able to use the Website > ASP.NET Configurator
I don't know if that helps but i do have a doc about that on my site.
Jan 04, 2006 07:39 AM|XIII|LINK
i ran aspreg_sql.exe on the remote database
There's a very good article about using that tool right here:
I used it myself and it worked out great.