PC Review


Reply
Thread Tools Rate Thread

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

 
 
gdubois@deloitte.vg
Guest
Posts: n/a
 
      6th Feb 2007
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

 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      6th Feb 2007
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.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
gdubois@deloitte.vg
Guest
Posts: n/a
 
      6th Feb 2007
On Feb 6, 5:00 pm, "Eliyahu Goldin"
<REMOVEALLCAPITALSeEgGoldD...@mMvVpPsS.org> wrote:
> 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.
>
> --
> Eliyahu Goldin,
> Software Developer & Consultant
> Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldin
>


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

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

Thanks

 
Reply With Quote
 
Eliyahu Goldin
Guest
Posts: n/a
 
      6th Feb 2007
Neither cs nor schema is needed on the server. You need to compile the app
on your machine and copy over the bin directory.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Feb 6, 5:00 pm, "Eliyahu Goldin"
> <REMOVEALLCAPITALSeEgGoldD...@mMvVpPsS.org> wrote:
> > 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.
> >
> > --
> > Eliyahu Goldin,
> > Software Developer & Consultant
> > Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldin
> >

>
> Sorry, could you help me out and tell me how I can do that?
>
> I transfered the cs file and the schema file...
>
> Thanks
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The type or namespace name 'Generic' does not exist in the class or namespace 'System.Collections' pantagruel Microsoft C# .NET 1 23rd Oct 2007 12:07 AM
The type or namespace 'Installer' does not exist in the class or namespace 'System.Configuration' John Chrisman Microsoft C# .NET 2 18th Nov 2005 11:24 PM
Does not exist in class or namespace?? Assimalyst Microsoft C# .NET 9 10th Aug 2005 03:06 PM
The type or namespace name 'blah' does not exist in the class or namespace 'abc.def' WineNCheese Microsoft Dot NET Framework 3 22nd Apr 2005 12:47 AM
The type or namespace name 'Windows' does not exist in the class or namespace 'System' (are you missing an assembly reference?) =?Utf-8?B?UmF5?= Microsoft Dot NET 1 7th Apr 2004 10:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:46 AM.