From: Jennifer Mathews on
Visual Studio 2008 vb.Net .net 3.5

I have a solution in a directory called
c:\HereIam\webSiteName\websiteName
It compiles and publishes perfectly.

I created a new solution in
c:\mySrc\websiteName\websiteName

I copied all the files from c:\HereIam\webSiteName
except the solution & project (vbproj & vbproj.user) files.

I am adding each page to the NEW solution one by one.
As long as the NEW solution only contains hyperlinks it compiles perfectly.

As soon as I add pages that contain controls it get the error:

Error 1 'hdnIsFirstTimeThru' is not a member of
'websiteName.websiteName_Public_Webinar_UCs_ucDDL_Wb_Sched'.

"hdnIsFirstTimeThru" being a hidden field on the webpage.
The webpages do use user controls.

It displays this message for EVERY control in every user-control.

I read on the internet that it is best to create new pages and
copy and paste the original code into the newly created pages.
Considering this is a farily big project, that would probably take
a week or two to complete.

Is there another solution?

Thanks


From: Mr. Arnold on
On 7/26/2010 9:22 AM, Jennifer Mathews wrote:
> Visual Studio 2008 vb.Net .net 3.5
>
> I have a solution in a directory called
> c:\HereIam\webSiteName\websiteName
> It compiles and publishes perfectly.
>
> I created a new solution in
> c:\mySrc\websiteName\websiteName
>
> I copied all the files from c:\HereIam\webSiteName
> except the solution & project (vbproj & vbproj.user) files.
>
> I am adding each page to the NEW solution one by one.
> As long as the NEW solution only contains hyperlinks it compiles perfectly.
>
> As soon as I add pages that contain controls it get the error:
>
> Error 1 'hdnIsFirstTimeThru' is not a member of
> 'websiteName.websiteName_Public_Webinar_UCs_ucDDL_Wb_Sched'.
>
> "hdnIsFirstTimeThru" being a hidden field on the webpage.
> The webpages do use user controls.
>
> It displays this message for EVERY control in every user-control.
>
> I read on the internet that it is best to create new pages and
> copy and paste the original code into the newly created pages.
> Considering this is a farily big project, that would probably take
> a week or two to complete.
>
> Is there another solution?

Get the Namespace used in control's Designer to match the Namespace the
project is now under. Also look at where namespace reference is pointing
to on the HTML code.

From: Jennifer Mathews on
Thank you for the reply.

> Get the Namespace used in control's Designer to match the Namespace the project is now
> under. Also look at where namespace reference is pointing to on the HTML code.

They are the same. I just changed the location the folders were in from
c:\xx1\webSiteName\webSiteName
to
c:\xx2\webSiteName\webSiteName

Anything else you can think of?


"Mr. Arnold" <Arnold(a)Arnold.com> wrote in message
news:ODOMzgOLLHA.2276(a)TK2MSFTNGP06.phx.gbl...
> On 7/26/2010 9:22 AM, Jennifer Mathews wrote:
>> Visual Studio 2008 vb.Net .net 3.5
>>
>> I have a solution in a directory called
>> c:\HereIam\webSiteName\websiteName
>> It compiles and publishes perfectly.
>>
>> I created a new solution in
>> c:\mySrc\websiteName\websiteName
>>
>> I copied all the files from c:\HereIam\webSiteName
>> except the solution & project (vbproj & vbproj.user) files.
>>
>> I am adding each page to the NEW solution one by one.
>> As long as the NEW solution only contains hyperlinks it compiles perfectly.
>>
>> As soon as I add pages that contain controls it get the error:
>>
>> Error 1 'hdnIsFirstTimeThru' is not a member of
>> 'websiteName.websiteName_Public_Webinar_UCs_ucDDL_Wb_Sched'.
>>
>> "hdnIsFirstTimeThru" being a hidden field on the webpage.
>> The webpages do use user controls.
>>
>> It displays this message for EVERY control in every user-control.
>>
>> I read on the internet that it is best to create new pages and
>> copy and paste the original code into the newly created pages.
>> Considering this is a farily big project, that would probably take
>> a week or two to complete.
>>
>> Is there another solution?
>

From: "Mr. Arnold" MR. on

"Jennifer Mathews" <waltersjennifer(a)live.com> wrote in message
news:937E6CB7-7D38-4742-893B-A2C39808D6F9(a)microsoft.com...
> Thank you for the reply.
>
>> Get the Namespace used in control's Designer to match the Namespace the
>> project is now under. Also look at where namespace reference is pointing
>> to on the HTML code.
>
> They are the same. I just changed the location the folders were in from
> c:\xx1\webSiteName\webSiteName
> to
> c:\xx2\webSiteName\webSiteName
>
> Anything else you can think of?

Are sure you're not having some kind of 'runat="server"' tag problem on the
control?

From: Jennifer Mathews on
It was strictly a copy and paste.

"Mr. Arnold" <MR. Arnold(a)Arnold.com> wrote in message
news:eYIACaQLLHA.4120(a)TK2MSFTNGP02.phx.gbl...
>
> "Jennifer Mathews" <waltersjennifer(a)live.com> wrote in message
> news:937E6CB7-7D38-4742-893B-A2C39808D6F9(a)microsoft.com...
>> Thank you for the reply.
>>
>>> Get the Namespace used in control's Designer to match the Namespace the project is
>>> now under. Also look at where namespace reference is pointing to on the HTML code.
>>
>> They are the same. I just changed the location the folders were in from
>> c:\xx1\webSiteName\webSiteName
>> to
>> c:\xx2\webSiteName\webSiteName
>>
>> Anything else you can think of?
>
> Are sure you're not having some kind of 'runat="server"' tag problem on the control?
>