CS0103: The name 'dsSchedule1' does not exist in the class or namespace 'ASP.schedule_aspx'

G

gdubois

Hi!!

I am trying for the first time to put on our intranet a really basic
ASP.NET page, using VS2003 and C#.

It's a page reading some info from an ACCESS database, using one
dataset (dsSchedule) and a datagrid.

Locally on my machine everything works fine. I copied directly all
the files directy in my Virtual Folder on the server.

I get the error:
CS0103: The name 'dsSchedule1' does not exist in the class or
namespace 'ASP.schedule_aspx'

Line 14: runat="server" Height="160px" Width="192px"
BackColor="Navy" ForeColor="White"></asp:calendar><asp:datagrid
id=DataGrid1 style="Z-INDEX: 102; LEFT: 32px; POSITION: absolute; TOP:
240px" runat="server" Height="149px" Width="704px" DataSource="<%#
dsSchedule1 %>" AutoGenerateColumns="False">

If I remove the DataSource part the page will load, but without the
data.

I am pretty sure it is something really simple... just too stupid to
figure it out.

Thanks
 
E

Eliyahu Goldin

On your machine, find where dsSchedule is defined. This part is missing on
the server. It could be a file or a dll, depending on where you find the
definition.
 
G

gdubois

On your machine, find where dsSchedule is defined. This part is missing on
the server. It could be a file or a dll, depending on where you find the
definition.

Sorry, could you help me out and tell me how I can do that?

I transfered the cs file and the schema file...

Thanks
 
E

Eliyahu Goldin

Neither cs nor schema is needed on the server. You need to compile the app
on your machine and copy over the bin directory.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top