473,769 Members | 5,878 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with 'header' user control in copied asp.net project

Hi.

I have an ASP.net project that works fine.

I copied it to another project using the following steps:

<<

(i) create a new VS.NET ASP.NET project.

(ii) copy all the files from the old wwwroot subfolder to the new one

(iii) include all those files into the project

(iv) add a reference or two that didn't get copied over in (iii)

(v) build it - it builds ok

What happens when I take some page of the new project and try to 'view in
browser' I get:

<<
Server Error in '/MyWebInterface_ NexusDB' Application.
----------------------------------------------------------------------------
----

Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: CS1595: 'MyWebInterface .Secure.MyHeade r' is defined
in multiple places; using definition from
'e:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary ASP.NET
Files\Mywebinte rface_nexusdb\f e7356c1\5423ab6 1\assembly\dl2\ 24513897\d2fa73 4
0_58f7c301\MyWe bInterface_Nexu sDB.DLL'

Source Error:

Line 27:
Line 28:
[System.Runtime. CompilerService s.CompilerGloba lScopeAttribute ()]
Line 29: public class MyHeader_ascx : MyWebInterface. Secure.MyHeader {
Line 30:
Line 31: private static bool __initialized = false;

Source File: e:\WINNT\Micros oft.NET\Framewo rk\v1.1.4322\Te mporary ASP.NET
Files\Mywebinte rface_nexusdb\f e7356c1\5423ab6 1\ucrrz4fp.0.cs Line: 29
As far as I can work out (the source file info at the end tells me nothing!)
it is complaining about a header user control I made, which of course is
referred to in multiple places (pretty much every page), but I've got no
idea
why it's complaining about it or even in which file the complaint is being
generated (on line 29 of that file).

The detailed compiler output is

<<

E:\WINNT\system 32> "e:\winnt\micro soft.net\framew ork\v1.1.4322\c sc.exe"
/t:library /utf8output
/R:"e:\winnt\mic rosoft.net\fram ework\v1.1.4322 \temporary asp.net
files\Mywebinte rface_nexusdb\f e7356c1\5423ab6 1\assembly\dl2\ 464084f2\32fdf8 b
5_8293c301\Mywe binterface.dll"
/R:"e:\winnt\ass embly\gac\syste m.web\1.0.5000. 0__b03f5f7f11d5 0a3a\system.web
..dll"
/R:"e:\winnt\ass embly\gac\syste m\1.0.5000.0__b 77a5c561934e089 \system.dll"
/R:"e:\winnt\ass embly\gac\syste m.web.services\ 1.0.5000.0__b03 f5f7f11d50a3a\s
ystem.web.servi ces.dll"
/R:"e:\winnt\ass embly\gac\syste m.xml\1.0.5000. 0__b77a5c561934 e089\system.xml
..dll"
/R:"e:\winnt\ass embly\gac\syste m.drawing\1.0.5 000.0__b03f5f7f 11d50a3a\system
..drawing.dll"
/R:"e:\winnt\ass embly\gac\syste m.web.mobile\1. 0.5000.0__b03f5 f7f11d50a3a\sys
tem.web.mobile. dll" /R:"e:\winnt\mic rosoft.net\fram ework\v1.1.4322 \temporary
asp.net
files\Mywebinte rface_nexusdb\f e7356c1\5423ab6 1\assembly\dl2\ 24513897\9efd1a 9
9_42f8c301\Mywe binterface_nexu sdb.dll"
/R:"e:\winnt\ass embly\gac\syste m.data\1.0.5000 .0__b77a5c56193 4e089\system.da
ta.dll"
/R:"e:\winnt\ass embly\gac\syste m.enterpriseser vices\1.0.5000. 0__b03f5f7f11d5
0a3a\system.ent erpriseservices .dll"
/R:"e:\winnt\mic rosoft.net\fram ework\v1.1.4322 \mscorlib.dll"
/R:"e:\winnt\mic rosoft.net\fram ework\v1.1.4322 \temporary asp.net
files\Mywebinte rface_nexusdb\f e7356c1\5423ab6 1\9xqkxlsx.dll"
/out:"E:\WINNT\M icrosoft.NET\Fr amework\v1.1.43 22\Temporary ASP.NET
Files\Mywebinte rface_nexusdb\f e7356c1\5423ab6 1\9cswzlnb.dll" /D:DEBUG
/debug+ /optimize- /warnaserror /w:1
"E:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary ASP.NET
Files\Mywebinte rface_nexusdb\f e7356c1\5423ab6 1\9cswzlnb.0.cs "
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

e:\WINNT\Micros oft.NET\Framewo rk\v1.1.4322\Te mporary ASP.NET
Files\Mywebinte rface_nexusdb\f e7356c1\5423ab6 1\9cswzlnb.0.cs (29,39): error
CS1595: 'MyWebInterface .Secure.MyHeade r' is defined in multiple places;
using definition from 'e:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary
ASP.NET
Files\Mywebinte rface_nexusdb\f e7356c1\5423ab6 1\assembly\dl2\ 464084f2\32fdf8 b
5_8293c301\MyWe bInterface.DLL'
The complete compilation source is

<<

Line 1:
//--------------------------------------------------------------------------
----
Line 2: // <autogenerate d>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.573
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will
be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9:
//--------------------------------------------------------------------------
----
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collecti ons;
Line 14: using System.Collecti ons.Specialized ;
Line 15: using System.Configur ation;
Line 16: using System.Text;
Line 17: using System.Text.Reg ularExpressions ;
Line 18: using System.Web;
Line 19: using System.Web.Cach ing;
Line 20: using System.Web.Sess ionState;
Line 21: using System.Web.Secu rity;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.W ebControls;
Line 24: using System.Web.UI.H tmlControls;
Line 25: using ASP;
Line 26:
Line 27:
Line 28:
[System.Runtime. CompilerService s.CompilerGloba lScopeAttribute ()]
Line 29: public class MyHeader_ascx : MyWebInterface. Secure.MyHeader {
Line 30:
Line 31: private static bool __initialized = false;
Line 32:
Line 33: public MyHeader_ascx() {
Line 34: if ((ASP.MyHeader_ ascx.__initiali zed == false)) {
Line 35: ASP.MyHeader_as cx.__initialize d = true;
Line 36: }
Line 37: }
Line 38:
Line 39: protected override bool SupportAutoEven ts {
Line 40: get {
Line 41: return false;
Line 42: }
Line 43: }
Line 44:
Line 45: protected ASP.Global_asax ApplicationInst ance {
Line 46: get {
Line 47: return
((ASP.Global_as ax)(this.Contex t.ApplicationIn stance));
Line 48: }
Line 49: }
Line 50:
Line 51: public override string TemplateSourceD irectory {
Line 52: get {
Line 53: return "/MyWebInterface_ NexusDB";
Line 54: }
Line 55: }
Line 56:
Line 57: private System.Web.UI.C ontrol __BuildControll bHome() {
Line 58: System.Web.UI.W ebControls.Link Button __ctrl;
Line 59:
Line 60: #line 4
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 61: __ctrl = new System.Web.UI.W ebControls.Link Button();
Line 62:
Line 63: #line default
Line 64: #line hidden
Line 65: this.lbHome = __ctrl;
Line 66:
Line 67: #line 4
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 68: __ctrl.ID = "lbHome";
Line 69:
Line 70: #line default
Line 71: #line hidden
Line 72: System.Web.UI.I ParserAccessor __parser =
((System.Web.UI .IParserAccesso r)(__ctrl));
Line 73:
Line 74: #line 4
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 75: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" Home"));
Line 76:
Line 77: #line default
Line 78: #line hidden
Line 79: return __ctrl;
Line 80: }
Line 81:
Line 82: private System.Web.UI.C ontrol __BuildControlh linkPublic()
{
Line 83: System.Web.UI.W ebControls.Hype rLink __ctrl;
Line 84:
Line 85: #line 5
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 86: __ctrl = new System.Web.UI.W ebControls.Hype rLink();
Line 87:
Line 88: #line default
Line 89: #line hidden
Line 90: this.hlinkPubli c = __ctrl;
Line 91:
Line 92: #line 5
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 93: __ctrl.ID = "hlinkPubli c";
Line 94:
Line 95: #line default
Line 96: #line hidden
Line 97:
Line 98: #line 5
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 99: __ctrl.Navigate Url = "~/public/PublicMain.aspx ";
Line 100:
Line 101: #line default
Line 102: #line hidden
Line 103: System.Web.UI.I ParserAccessor __parser =
((System.Web.UI .IParserAccesso r)(__ctrl));
Line 104:
Line 105: #line 5
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 106: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" Public"));
Line 107:
Line 108: #line default
Line 109: #line hidden
Line 110: return __ctrl;
Line 111: }
Line 112:
Line 113: private System.Web.UI.C ontrol __BuildControlh refSecure()
{
Line 114: System.Web.UI.H tmlControls.Htm lAnchor __ctrl;
Line 115:
Line 116: #line 6
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 117: __ctrl = new System.Web.UI.H tmlControls.Htm lAnchor();
Line 118:
Line 119: #line default
Line 120: #line hidden
Line 121: this.hrefSecure = __ctrl;
Line 122:
Line 123: #line 6
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 124: __ctrl.ID = "hrefSecure ";
Line 125:
Line 126: #line default
Line 127: #line hidden
Line 128:
Line 129: #line 6
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 130: __ctrl.HRef = "~/Secure/Main.aspx";
Line 131:
Line 132: #line default
Line 133: #line hidden
Line 134: System.Web.UI.I ParserAccessor __parser =
((System.Web.UI .IParserAccesso r)(__ctrl));
Line 135:
Line 136: #line 6
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 137: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" \r\n\t\t\tSecur e"));
Line 138:
Line 139: #line default
Line 140: #line hidden
Line 141: return __ctrl;
Line 142: }
Line 143:
Line 144: private System.Web.UI.C ontrol __BuildControls pnSecure() {
Line 145: System.Web.UI.H tmlControls.Htm lGenericControl __ctrl;
Line 146:
Line 147: #line 6
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 148: __ctrl = new
System.Web.UI.H tmlControls.Htm lGenericControl ("span");
Line 149:
Line 150: #line default
Line 151: #line hidden
Line 152: this.spnSecure = __ctrl;
Line 153:
Line 154: #line 6
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 155: __ctrl.ID = "spnSecure" ;
Line 156:
Line 157: #line default
Line 158: #line hidden
Line 159:
Line 160: #line 6
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 161: this.__BuildCon trolhrefSecure( );
Line 162:
Line 163: #line default
Line 164: #line hidden
Line 165: System.Web.UI.I ParserAccessor __parser =
((System.Web.UI .IParserAccesso r)(__ctrl));
Line 166:
Line 167: #line 6
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 168: __parser.AddPar sedSubObject(th is.hrefSecure);
Line 169:
Line 170: #line default
Line 171: #line hidden
Line 172:
Line 173: #line 6
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 174: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" &nbsp;&nbsp;|&n bsp;&nbsp;"));
Line 175:
Line 176: #line default
Line 177: #line hidden
Line 178: return __ctrl;
Line 179: }
Line 180:
Line 181: private System.Web.UI.C ontrol __BuildControlh refAdmin() {
Line 182: System.Web.UI.H tmlControls.Htm lAnchor __ctrl;
Line 183:
Line 184: #line 8
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 185: __ctrl = new System.Web.UI.H tmlControls.Htm lAnchor();
Line 186:
Line 187: #line default
Line 188: #line hidden
Line 189: this.hrefAdmin = __ctrl;
Line 190:
Line 191: #line 8
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 192: __ctrl.ID = "hrefAdmin" ;
Line 193:
Line 194: #line default
Line 195: #line hidden
Line 196:
Line 197: #line 8
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 198: __ctrl.HRef = "~/Secure/Admin/AdminMain.aspx" ;
Line 199:
Line 200: #line default
Line 201: #line hidden
Line 202: System.Web.UI.I ParserAccessor __parser =
((System.Web.UI .IParserAccesso r)(__ctrl));
Line 203:
Line 204: #line 8
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 205: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" \r\n\t\t\tAdmin "));
Line 206:
Line 207: #line default
Line 208: #line hidden
Line 209: return __ctrl;
Line 210: }
Line 211:
Line 212: private System.Web.UI.C ontrol __BuildControls pnAdmin() {
Line 213: System.Web.UI.H tmlControls.Htm lGenericControl __ctrl;
Line 214:
Line 215: #line 8
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 216: __ctrl = new
System.Web.UI.H tmlControls.Htm lGenericControl ("span");
Line 217:
Line 218: #line default
Line 219: #line hidden
Line 220: this.spnAdmin = __ctrl;
Line 221:
Line 222: #line 8
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 223: __ctrl.ID = "spnAdmin";
Line 224:
Line 225: #line default
Line 226: #line hidden
Line 227:
Line 228: #line 8
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 229: this.__BuildCon trolhrefAdmin() ;
Line 230:
Line 231: #line default
Line 232: #line hidden
Line 233: System.Web.UI.I ParserAccessor __parser =
((System.Web.UI .IParserAccesso r)(__ctrl));
Line 234:
Line 235: #line 8
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 236: __parser.AddPar sedSubObject(th is.hrefAdmin);
Line 237:
Line 238: #line default
Line 239: #line hidden
Line 240:
Line 241: #line 8
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 242: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" &nbsp;&nbsp;|&n bsp;&nbsp;"));
Line 243:
Line 244: #line default
Line 245: #line hidden
Line 246: return __ctrl;
Line 247: }
Line 248:
Line 249: private System.Web.UI.C ontrol __BuildControll bLogOut() {
Line 250: System.Web.UI.W ebControls.Link Button __ctrl;
Line 251:
Line 252: #line 10
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 253: __ctrl = new System.Web.UI.W ebControls.Link Button();
Line 254:
Line 255: #line default
Line 256: #line hidden
Line 257: this.lbLogOut = __ctrl;
Line 258:
Line 259: #line 10
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 260: __ctrl.ID = "lbLogOut";
Line 261:
Line 262: #line default
Line 263: #line hidden
Line 264: System.Web.UI.I ParserAccessor __parser =
((System.Web.UI .IParserAccesso r)(__ctrl));
Line 265:
Line 266: #line 10
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 267: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" Log Out"));
Line 268:
Line 269: #line default
Line 270: #line hidden
Line 271: return __ctrl;
Line 272: }
Line 273:
Line 274: private System.Web.UI.C ontrol __BuildControll blURL() {
Line 275: System.Web.UI.W ebControls.Labe l __ctrl;
Line 276:
Line 277: #line 11
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 278: __ctrl = new System.Web.UI.W ebControls.Labe l();
Line 279:
Line 280: #line default
Line 281: #line hidden
Line 282: this.lblURL = __ctrl;
Line 283:
Line 284: #line 11
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 285: __ctrl.ID = "lblURL";
Line 286:
Line 287: #line default
Line 288: #line hidden
Line 289: return __ctrl;
Line 290: }
Line 291:
Line 292: private void __BuildControlT ree(System.Web. UI.Control
__ctrl) {
Line 293: System.Web.UI.I ParserAccessor __parser =
((System.Web.UI .IParserAccesso r)(__ctrl));
Line 294:
Line 295: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 296: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" \r\n<H2 align=\"center\ "><font
color=\"darkred \">My Regional Data Integration Onli" +
Line 297: "ne</font>\r\n</H2>\r\n<P align=\"center\ ">"));
Line 298:
Line 299: #line default
Line 300: #line hidden
Line 301:
Line 302: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 303: this.__BuildCon trollbHome();
Line 304:
Line 305: #line default
Line 306: #line hidden
Line 307:
Line 308: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 309: __parser.AddPar sedSubObject(th is.lbHome);
Line 310:
Line 311: #line default
Line 312: #line hidden
Line 313:
Line 314: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 315: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" &nbsp;&nbsp;|&n bsp;&nbsp;\r\n\ t"));
Line 316:
Line 317: #line default
Line 318: #line hidden
Line 319:
Line 320: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 321: this.__BuildCon trolhlinkPublic ();
Line 322:
Line 323: #line default
Line 324: #line hidden
Line 325:
Line 326: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 327: __parser.AddPar sedSubObject(th is.hlinkPublic) ;
Line 328:
Line 329: #line default
Line 330: #line hidden
Line 331:
Line 332: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 333: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" &nbsp;&nbsp;|&n bsp;&nbsp;\r\n\ t"));
Line 334:
Line 335: #line default
Line 336: #line hidden
Line 337:
Line 338: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 339: this.__BuildCon trolspnSecure() ;
Line 340:
Line 341: #line default
Line 342: #line hidden
Line 343:
Line 344: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 345: __parser.AddPar sedSubObject(th is.spnSecure);
Line 346:
Line 347: #line default
Line 348: #line hidden
Line 349:
Line 350: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 351: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" \r\n\t"));
Line 352:
Line 353: #line default
Line 354: #line hidden
Line 355:
Line 356: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 357: this.__BuildCon trolspnAdmin();
Line 358:
Line 359: #line default
Line 360: #line hidden
Line 361:
Line 362: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 363: __parser.AddPar sedSubObject(th is.spnAdmin);
Line 364:
Line 365: #line default
Line 366: #line hidden
Line 367:
Line 368: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 369: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" \r\n\t"));
Line 370:
Line 371: #line default
Line 372: #line hidden
Line 373:
Line 374: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 375: this.__BuildCon trollbLogOut();
Line 376:
Line 377: #line default
Line 378: #line hidden
Line 379:
Line 380: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 381: __parser.AddPar sedSubObject(th is.lbLogOut);
Line 382:
Line 383: #line default
Line 384: #line hidden
Line 385:
Line 386: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 387: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" &nbsp;\r\n\t")) ;
Line 388:
Line 389: #line default
Line 390: #line hidden
Line 391:
Line 392: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 393: this.__BuildCon trollblURL();
Line 394:
Line 395: #line default
Line 396: #line hidden
Line 397:
Line 398: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 399: __parser.AddPar sedSubObject(th is.lblURL);
Line 400:
Line 401: #line default
Line 402: #line hidden
Line 403:
Line 404: #line 1
"e:\inetpub\www root\MyWebInter face_NexusDB\My Header.ascx"
Line 405: __parser.AddPar sedSubObject(ne w
System.Web.UI.L iteralControl(" </P>\r\n<H2>\r\n\ t<HR width=\"100%\"
SIZE=\"1\">\r\n </H2>\r\n"));
Line 406:
Line 407: #line default
Line 408: #line hidden
Line 409: }
Line 410:
Line 411: protected override void FrameworkInitia lize() {
Line 412: this.__BuildCon trolTree(this);
Line 413: }
Line 414: }
Line 415: }
Line 416:


Any suggestions on what is going wrong here? It works in the original, but
not in the copy.

Thanks!

Lauchlan M
Nov 18 '05 #1
1 1729
> What happens when I take some page of the new project and try to 'view in
browser' I get:

<<
Server Error in '/MyWebInterface_ NexusDB' Application.


Fixed it. I needed to delete the old dll and pdb files, even though the new
project generated new ones with a different name and there should have been
no conflict.

Lauchlan M
Nov 18 '05 #2

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

Similar topics

0
3940
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen. It is almost like it is trying to implement it's own COM interfaces... below is the header, and a link to the dll+code: Zip file with header, example, and DLL:...
11
26886
by: Russ | last post by:
My web app writes some binary data to a file at the client site via Response.Write and Response.BinaryWrite. This action is accomplished in response to a button click, with C# code behind as follows: private void SubmitButton_Click (object sender, System.EventArgs e) { // Set up the response to write the print file to the client Response.Clear (); Response.AppendHeader ("Content-Disposition", "filename=WebPrint.prn");
4
1407
by: poifull | last post by:
Hi everyone, I would like to develop a header and HTML menu system for most of the web pages on my web site. What is the best solution for this scenerio? (HTML Control, Server Control...) Thanks for your response
2
1137
by: Fred Flintstone | last post by:
This is driving me crazy. I've put together a perfect, easy example of the problem. What I'm doing is creating a custom control, prepopulated with 4 items when dropped on a form: - Create a new Control Library project. - Inherit System.Windows.Forms.Combobox - In New(), add this: Me.Items.Add("Test1") Me.Items.Add("Test2")
13
3940
by: Lee Newson | last post by:
Hi, I have just written my first application using VB.NET. The app works fine when i am running it within .NET for debugging purposes, however when i try to run the app from the .exe file that .NET creates i get the following error message: "An unhandled exception of type 'System.IO.FileNotFoundException' occurred in VisioTimeline.exe
4
3159
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps further away, completely leaving the selector box area. Any ideas? VS 2003 and VB.Net This is a simple application at the moment but the form is inherited from a
5
4095
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in both projects. Both controls(dlls) have been signed using SN.exe and I've set up the appropriate .Net assembly permissions using those Strong Names The DLL's have been copied to the /bin directory in both web virtual directories.
2
3040
by: letsgetsilly | last post by:
I'm developing the external corporate website for my company in Visual Studio 2003 using html, css, and a user web control for the header/navigation. When I try to print any of the pages only the header image (an <img> located in the Web User control) and the footer (also <img>) will print, but none of the text, graphics, background colors, or background images that are included. My page is a liquid 3 column + 1 header + 1 footer CSS...
0
1100
by: awdigrigoli | last post by:
I have a VB.NET 2003 Windows application that was working fine, but is now starting to have strange problems. I have a ListView user control that I use on several forms. The Height and Width are set in the user control. If I make any changes to one of the forms that contains the ListView control and then Build my project the ListView increases in size. No matter what I do I can't get it to stop growing.
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10215
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5307
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3564
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.