473,385 Members | 1,838 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,385 software developers and data experts.

Web Site Setup problems

I am a newbie programmer, using lots of books and online resources. I
need help to get my asp.net page to work because right now all I am
getting is errors.

The project is to have a drop down list select names from a Access
table, then display a gridview grid and a Detailsview Grid based on the
selection chosen. Sounds pretty easy huh. At home I got the project
made and working using MS Visual Web Developer 2005. The thing that
bugged me is that I would only see my page if that program was running.
I would prefer to call it anytime, like most normal web sites.

I started the project from home had it working then wanted to transport
it to work to finish it.

Home: XP, asp.net using VB programming, dotnet 2.0 frame, Access 2003,
MS Visual Web Developer Express 2005.

After I made the default.aspx file using MS Visual Web Developer (and
get the code syntax correct), I press F5 and my beautiful screen with
my datagrid controls work perfectly.

Work: SharePoint Services w/ WMSDE (or known as SQL Lite), dotnet 1.1
and 2.0, Server 2003, IIS 6, Front Page 2003, Access 2003. All latest
SPs and updates.

I copied all the files into a directory. Using IIS, I made a web site,
gave it a port number like 30000, allow anonymous access. When I type
in \\WSS:30000, I get the following error information:

Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web
browser to retry your request.

SO I decided to have a look inside of FrontPage 2003 to see my aspx
file, and (in design view) all my controls DropDownList, Gridview and
DetailsView say the same error notification:

There was an error rendering the control.
RegisterForEventValidation can only be called during Render();.

I did see a bunch of web sites talking about adding the following code
to disable event validation:
<%@ Page EnableEventValidation="false" % to my document or a similar
statement in web.config to set all documents to skip event validation
and make the grids work again.
The problem is that this didnt improve the situation.
--------------------------------------------
I do not believe that this is as much of a coding problem as it is a
dotnet or IIS setup problem.
I do not understand why I would have to have MS Visual Web Designer
running just so I can see my website work properly.
I do recognize that I may be doing something wrong in the setup
somewhere, may knowledge of "Why do I have to do all of this" is not
there yet.
It is likely that running another ASP application concurrent with
SharePoint is a bad idea (On this end I am going to set up another
Database server so I can keep working)
-------------------------------------------
If anyone has an idea what I can do, please tell me. I am at a loss.

Thanks,
Harvnet

Aug 8 '06 #1
1 1347
I figured it out. I was missing a Namespace import from one of the
following:

<%@ Import Namespace="System.Web.UI" %>
<%@ Import Namespace="System.Web.UI.WebControls" %>
<%@ Import Namespace="System.Web.UI.WebControls.WebParts" %>
<%@ Import Namespace="System.Web.UI.HtmlControls" %>

Not sure which one it was but I tried them all and it worked.

Aug 9 '06 #2

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

Similar topics

0
by: Chad A. Beckner | last post by:
I am starting to work on implementing ASP.NET (using VS.NET Dev 2003) into our current ASP 3.0 intranet setup. We have several (say 15 - 20) "applications" that are run within our intranet, which...
2
by: Marcus | last post by:
I have seen many posts of people with the same problem as me (attached below), but I have yet to see any solutions posted. Has anyone figured out how to deploy an Asp.net web site to the webserver...
1
by: Tim Wood | last post by:
I'm having trouble with setup of an asp.net application on Windows 2003. When I attempt to start the app I get "Server Error in '/MyApp' application. The message also says that error details cannot...
20
by: Dr. Colombes | last post by:
For a personal Web site with modest throughput and interactivity demans, I'm interested in your recommendation(s) for good (cheap, reliable, Linux friendly, very little, if any, sponsor...
5
by: Dan | last post by:
Hi I need to be able to launch an appliction that is running on an ftp site. ftp://localhost/someapp.exe I don't won't to download it first, just run it from the ftp location, just like you...
7
by: CAH | last post by:
Hi I need to make at multilanguage language site, and for that I need to identify the users, and register there choice off language. For that i imagine using cookies, since this is the only way...
1
by: ZZ_Scarab | last post by:
Hi, <I posted this on the microsoft.public.dotnet.framework.aspnet.security newsgroup but before I got a reply this newsgroup has become unavailable!! So I'm posting it here again. Sorry for the...
0
by: imageguy | last post by:
I am hoping if someone can set me straight. I have created a setup script for a module, however, when running the install on my own machine, I would like to place the module in a specific...
10
by: defn noob | last post by:
i unzipped and put the folder in site-packages. when i run setup.py install nothing happens. when i do import pp from shell it complains it doesnt exist. isnt placing the folder in...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.