473,327 Members | 1,979 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

the dreaded WAT is not working

Hi folks, using ASP.net 2.0 VS 2005 and C# on XP pro

I'm using a file based ASP.net web type on my local machine

I've not had this problem before, but I started a brand new website and I
clicked on the ASP.net configuration icon in solution explorer and I get this
message

'An error was encountered. Please return to the previous page and try again. '

when I click the link that says 'how do I use this tool' I get the message
that 'the tool has timed out'

how can I make this flaky heap of junk show me the normal 4 tabs

regards and many thanks in advance

CharlesA
Nov 10 '06 #1
11 3104
ASP.Net requires a web server running the ASP.Net ISAPI to work. It is
HTTP-Protocol-based, and can not be run as a file-based web.

--
HTH,

Kevin Spencer
Microsoft MVP
Ministry of Software Development
http://unclechutney.blogspot.com

If you have little, is that your lot?
"CharlesA" <Ch******@discussions.microsoft.comwrote in message
news:4A**********************************@microsof t.com...
Hi folks, using ASP.net 2.0 VS 2005 and C# on XP pro

I'm using a file based ASP.net web type on my local machine

I've not had this problem before, but I started a brand new website and I
clicked on the ASP.net configuration icon in solution explorer and I get
this
message

'An error was encountered. Please return to the previous page and try
again. '

when I click the link that says 'how do I use this tool' I get the message
that 'the tool has timed out'

how can I make this flaky heap of junk show me the normal 4 tabs

regards and many thanks in advance

CharlesA

Nov 10 '06 #2
Did you create the membership database with the aspnet_regsql tool ?

If you have not yet created the membership database, exit the Web Site
Administration tool, use the aspnet_regsql command-line utility to create
and configure the database, and then return to the WAT to set the provider.

aspnet_regsql.exe is located in the .Net Framework directory :

Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"CharlesA" <Ch******@discussions.microsoft.comwrote in message
news:4A**********************************@microsof t.com...
Hi folks, using ASP.net 2.0 VS 2005 and C# on XP pro

I'm using a file based ASP.net web type on my local machine

I've not had this problem before, but I started a brand new website and I
clicked on the ASP.net configuration icon in solution explorer and I get this
message

'An error was encountered. Please return to the previous page and try again. '

when I click the link that says 'how do I use this tool' I get the message
that 'the tool has timed out'

how can I make this flaky heap of junk show me the normal 4 tabs

regards and many thanks in advance

CharlesA


Nov 10 '06 #3
Kevin, are you sure about that? I seem to remember using it on a machine the
other day (not my home one) with a file based system

Juan, surely I don't have to create the database first, how does the WAT
tool know that I want to do data stuff, I might just want to change some
config type things

I'm willing to give it a go, but I thought that the WAT tool itself created
the databases in App_data and that you used aspnet_regsql to change the
location of the database

Thanks for your posts so far any further reaction to what I've said here
would be really appreciated

Regards
CharlesA
Nov 10 '06 #4
Hi,

CharlesA wrote:
Kevin, are you sure about that? I seem to remember using it on a machine the
other day (not my home one) with a file based system
You can use file-based web in ASP.NET 2.0 only (not 1.1), and only from
Visual Studio, because it has a built-in development web server. You
cannot however run ASP.NET based pages/services using the file:// protocol.

So you're both right ;-)

HTH,
Laurent

Juan, surely I don't have to create the database first, how does the WAT
tool know that I want to do data stuff, I might just want to change some
config type things

I'm willing to give it a go, but I thought that the WAT tool itself created
the databases in App_data and that you used aspnet_regsql to change the
location of the database

Thanks for your posts so far any further reaction to what I've said here
would be really appreciated

Regards
CharlesA

--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Nov 10 '06 #5
thanks Laurent,

i am indeed using http://

I moved to a local IIS based website (through a virtual dir) and there I
can't even see my default.aspx let alone use the WAT

this is the error I get

This error (HTTP 500 Internal Server Error) means that the website you are
visiting had a server problem which prevented the webpage from displaying.

despite having used added in MAIN\ASPNET (main is my machine name) into the
directory security tab

I had none of these security probs in .net 1.1, now with VS 2005 I can't use
my local IIS anymore and if I try to use the WAT I'm told that it has timed
out, what am I missing (I'm at home and I'm the admin) any ideas on the
missing steps that I failed to take after installing both VS2005 with .net
2.0 and SServer 2005 on an XP pro machine?

Regards and thanks again for any help
CharlesA
Nov 10 '06 #6
just out of interest folks...if I go for a complete reinstall of all this (to
sort it out) what do I install first,

a) .Net2.0/Visual Studio 2005 and then SQL server 2005
b) the othe way round
c) it doesn't matter

Regards
CharlesA
Nov 10 '06 #7
re:
I might just want to change some config type things
There's very little you can change in web.config using the WAT.

If that's all you want to do, change the website to http-based,
and use the ASP.NET configuration manager in the MMC.

Using the WAT for minor web.config configuration changes is spotty,
at best, since there's a lot of settings you don't have access to from the WAT tool.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"CharlesA" <Ch******@discussions.microsoft.comwrote in message
news:DC**********************************@microsof t.com...
Kevin, are you sure about that? I seem to remember using it on a machine the
other day (not my home one) with a file based system

Juan, surely I don't have to create the database first, how does the WAT
tool know that I want to do data stuff, I might just want to change some
config type things

I'm willing to give it a go, but I thought that the WAT tool itself created
the databases in App_data and that you used aspnet_regsql to change the
location of the database

Thanks for your posts so far any further reaction to what I've said here
would be really appreciated

Regards
CharlesA

Nov 10 '06 #8
re:
a) .Net2.0/Visual Studio 2005 and then SQL server 2005
..Net2.0, SQL Server 2005 (Express, presumably), then Visual Studio 2005


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"CharlesA" <Ch******@discussions.microsoft.comwrote in message
news:D2**********************************@microsof t.com...
just out of interest folks...if I go for a complete reinstall of all this (to
sort it out) what do I install first,

a) .Net2.0/Visual Studio 2005 and then SQL server 2005
b) the othe way round
c) it doesn't matter

Regards
CharlesA

Nov 10 '06 #9
ah yes Juan, but I needed to follow some steps in a tutorial so that
eventually I can use the Membership stuff, now either my website full stop
doesn't work with IIS or my WAT doesn't work with either the built-in web
server or IIS
Regards and thanks,
Charles
Nov 10 '06 #10


FYI

"Kevin Spencer"
ASP.Net requires a web server
Not really - just a process to handle:

HttpRuntime.ProcessRequest Method
Drives all ASP.NET Web processing execution
running the ASP.Net ISAPI to work. It is
HTTP-Protocol-based, and can not be
run as a file-based web.
Well it all depends on what your goal is:
perhaps a sales CD (etc.) that looks like
it is using a "web server", or whatever!

Anyway here are two oldies but goodies:

"HTML is often thought of as the sole
domain for Web applications. But HTML's
versatile display attributes are also
very useful for handling data display of
all sorts in desktop applications. "

Hosting the ASP.Net Runtime in desktop applications
http://www.west-wind.com/presentatio...netruntime.asp

Executing ASPX pages without a web server
http://radio.weblogs.com/0105476/sto...WebServer.html


Nov 10 '06 #11
I stand corrected! Or at least, adjusted!

--
;-),

Kevin Spencer
Microsoft MVP
Ministry of Software Development
http://unclechutney.blogspot.com

If you have little, is that your lot?
"Flowering Weeds" <fl****************@hotmail.comwrote in message
news:Od**************@TK2MSFTNGP03.phx.gbl...
>

FYI

"Kevin Spencer"
>ASP.Net requires a web server

Not really - just a process to handle:

HttpRuntime.ProcessRequest Method
Drives all ASP.NET Web processing execution
>running the ASP.Net ISAPI to work. It is
HTTP-Protocol-based, and can not be
run as a file-based web.

Well it all depends on what your goal is:
perhaps a sales CD (etc.) that looks like
it is using a "web server", or whatever!

Anyway here are two oldies but goodies:

"HTML is often thought of as the sole
domain for Web applications. But HTML's
versatile display attributes are also
very useful for handling data display of
all sorts in desktop applications. "

Hosting the ASP.Net Runtime in desktop applications
http://www.west-wind.com/presentatio...netruntime.asp

Executing ASPX pages without a web server
http://radio.weblogs.com/0105476/sto...WebServer.html


Nov 11 '06 #12

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

Similar topics

28
by: caustik | last post by:
I don't care if its bad C++, I really dont. I need to convert from a member function pointer to a "void*" with zero computational overhead. I have the perfect way to do it right here, but i'm...
0
by: Alexander Stippler | last post by:
I've got an inheritance structure with two coupled "dreaded diamonds" like shown below: A / \ / \ B C \ / \ \ / \ D E \ /
1
by: Alexander Stippler | last post by:
Hello, I want to build up an inheritance structure looking like two coupled dreaded diamonds. It's similar to an old posting of me. Now my question is, where to use the keyword virtual. CV /...
2
by: kma | last post by:
I am designing an Access 2000 database on a computer running Windows 98. I have one form with several tabs; all of which have sub forms, some with a subform on a subform. For example, on my...
24
by: songie D | last post by:
Can managed C++ be trusted to handle the garbage collector correctly in the right bit if I have a project with unmanaged and managed parts in it?
3
by: Bill Belliveau | last post by:
Hello all I have the need to copy something to the clipboard via 3rd party type library and then pick it up on the .NET side via the clipboard (all server-side). To complicate the issue, the...
5
by: tshad | last post by:
I have been working with setting my drop boxes to allow double clicking to select an item. It worked fine until I made some changes. I then stripped the page down to the bare essentials to find...
9
by: MSDNAndi | last post by:
Hi, I have a set of simple webservices calls that worked fine using .NET Framework 1.0. I am calling a Java/Apache based webservices, the calling side is not able to supply a proper WSDL. ...
8
by: Dynamo | last post by:
Hi again, I am constructing a site on a small scale where people can buy nik naks and pay for them via paypal. Everything works fine unless there is only one of an item left for sale. What if 2...
2
SamKL
by: SamKL | last post by:
Fairly new at converting over to using non-table layouts, but I've been working at this one particular issue for over 6 hours now with no real perceivable results... The page in question is W3C...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.