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

web.config help

164 100+
So I need some help on an asp app. I am very very new to asp, and I am using Microsoft Expression web as a result of this.

I can get my app to work perfectly fine in the testing server that MEW provides. However, when I move it over to my little web server running IIS 6 it does not work! I have configured the server to run asp and all that jazz. It runs my default page real nice which just has two links to the two pages that DONT work.

The two pages are linked to the same access database and all they are doing is pulling a query from access and displaying them in a data grid.

Like I said it works fine in my testing server. I am going to post pictures for you all because they may explain things better than I can!

here is pic of my site setup in Expression Web
Expression web setup


Here is a pic of it running in the development server
running in development server

Here is a shot of the files in my web server
files on actual server

And here is the error I get when trying to run a page.
error on page




I am sure this may be an easy web.config issue. I tried searching and found nothing on this. I am JUST lost and could really use some help.

Thank you everyone so much!
Oct 10 '07 #1
6 1287
epower
2
Hello,

I am relatively new to ASP as well, but here is my first suggestion. The error that you are receiving is really just telling you that it can't give you the real error message. If you go into your web.config file and then add or modify the following setting: <customErrors mode="Off"/> you can see more informative error messages. (You will probably want to change this back to "ON" or "REMOTEONLY" when you release the application.) Then you can post again with the detailed error message if you still need help.

Hope this helps!
Oct 10 '07 #2
mbatestblrock
164 100+
Sorry I should have posted this in with the post. I have no web.config and when I make it with the recommended settings that were on the page.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

and then i get this....

---------------------------------------------------------------------------

Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type System.Web.UI.WebControls.GridView from assembly System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.

Source Error:

Line 11:
Line 12: <form id="form1" runat="server">
Line 13: <asp:GridView runat="server" id="GridView1" AutoGenerateColumns="False" DataSourceID="AccessDataSource1" DataKeyNames="Serial_Number" AllowSorting="True">
Line 14: <Columns>
Line 15: <asp:boundfield DataField="Status" SortExpression="Status" HeaderText="Status">


Source File: c:\inetpub\wwwroot\inventory.aspx Line: 13

Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407




------------------------------------------------------------------------

I guess my main problem is I do not understand what needs to be in this web file???

any takers???
Oct 10 '07 #3
I'm pretty sure .aspx is an ASP.NET extension, are you working with .NET or using classic ASP?
Oct 10 '07 #4
mbatestblrock
164 100+
Sorry .net.. is this the wrong place to posting this???
Oct 11 '07 #5
jhardman
3,406 Expert 2GB
Sorry .net.. is this the wrong place to posting this???
Yes. ASP.NET is what they call web apps made with .NET. It is a different animal than ASP. I have moved it over for you.

Jared
Oct 13 '07 #6
kenobewan
4,871 Expert 4TB
Sorry but this is a comedy of errors - you published your asp.net site without a config file and now you are publishing the errors so others can test them for you? Hey we were all new at this once, but at least most of us took a course or studied a book first. Asp.net is challenging, but this is not a teaching site. Suggest you learn the basics and return when you can understand what is going on. I am closing this thread. Thanks.

MODERATOR
Oct 13 '07 #7

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

Similar topics

2
by: Suresh Gladstone | last post by:
Hi, This is a bit with versioning and installation of the .NET dlls. I want to perform the following, 1. A third party application will be invoking my .NET dll through COM interop . For this I...
3
by: Simon | last post by:
Hi everyone, I really need help with the following: It's common in app development to create numerous projects under one solution that as a whole combine to become your final application. For...
2
by: bmcelhany | last post by:
Hi all, I have a solution with 4 projects: a class library, a windows app, a windows service, and an installer project. The class library handles all communication with the database and its...
2
by: Richard | last post by:
Hi, I'm having trouble setting up a config file based trace switch & listener. I added an application config file to my console based C# program using the "Add New Application Config File" button...
2
by: PMac | last post by:
I'm trying to execute a stand-alone console application from an aspx page when a use clicks a button on that page. On the aspx page is the following lines of pertinent code: private void...
6
by: Mikey_Doc | last post by:
Hi We are running cms 2002, Framework 1.0 with Visual studio 2002. We have just upgraded to Framework 1.1 and visual studio 2003. All of our database connection strings are stored within the...
9
by: Benny Ng | last post by:
Hi,all, How to let the sub-directory to avoid the authentication control from Root's webconfig? I heard that we can add a new web.config to the sub-directory. And then we can slove the problem....
1
by: Joseph Geretz | last post by:
I need to download a greater than 4 megabyte attachment via WSE / DIME. The only way I know how to configure this is via a .config file. Normally, the ..config file is the same name as the base...
1
by: comic_rage | last post by:
Hi, I am trying to read from my application config file and keep getting null. Here is my config file My application is called SampleApp.exe
5
by: Andrew | last post by:
Hi, I have a default.aspx which allows the user to choose between module Admin and module B. When the user clicks either one, he will be redirected to a FormsAuthentication login page. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.