![]() |
| compiled dll versus src file |
|
wildorf
|
does anyone know why I am able to use .net with uncompiled source files and not with the compiled .dll file in a bin directory
|
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
Could be taht you're not referencing the class or namespace correctly in your code.
|
||||||||||||
|
|
|||||||||||||
| No I don't think so. |
|
wildorf
|
I have one page at http://militaryringsandgifts.com/nobinSimp/WebForm1.aspx and another with a compiled .dll file in bin subdirectory at
http://militaryringsandgifts.com/binSimp/WebForm1.aspx . The nobinSimp is an aspx page with an aspx.vb code module in the same directory that is compiled at run time; no dll . Both pages run the same on my developement machine. Do you have any other thoughts I would really like to be able to use .Net in my development but if I can't reference classes outside the page class I'm up a creek woap. Just for my info, I should be able to run my .Net pages with code behind and other data access classes compiled into dll located in the bin subdirectory. I think this forum is great by the way. |
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
the error is trying reference a type... that doesn't seem right. What version of .net are you using; 1.0, 1.1, or 1.1 SP1?
Try changing your page directive to...
OR
|
||||||||||||||||
|
|
|||||||||||||||||
| Figured it out - yeah! |
|
wildorf
|
I overestimated the portability of the dll that was built on my development machine onto the web server. Apparently the .Net framework on the web server doesn't have the resources that the dll requests.
The answer was to build the dll on the web server. I used front page extensions to create a subweb, used VS.net to to create the project in the new web folder and within minutes had the results I am accustomed to on my development machine. So hope this helps somebody Visit my website at http://militaryringsandgifts.com |
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
Glad you figured it out
|
||||||||||||
|
|
|||||||||||||
| compiled dll versus src file |
|
||
|


