|
-
Jul 21st, 2005, 03:09 AM
#1
Thread Starter
Addicted Member
dll deployment
Hi,
I created a class library and referenced it in my web application, it works fine on my localhost development machine but when I put in the server or different host pc then it doesn't work...has anyone experienced the same? or knows how to solve it? what's GAC? does it have anything to do abou it...
thanks,
jewel
-
Jul 21st, 2005, 03:59 AM
#2
Re: dll deployment
Where are you putting it on the host pc? How are you deploying your web application in the first place?
-
Jul 21st, 2005, 04:07 AM
#3
Thread Starter
Addicted Member
Re: dll deployment
 Originally Posted by mendhak
Where are you putting it on the host pc? How are you deploying your web application in the first place?
Im not sure if i used the right term...anyway...what I did is I just copied the dll and .aspx on the same directory in the IIS home directory...
thanks,
jewel
-
Jul 21st, 2005, 04:44 PM
#4
Re: dll deployment
Is the aspx page compiling ok? Maybe you need to register .net in IIS.
Make sure your classid for your <object> is still pointing to the correct folder.
GAC = Global Assembly Cache
http://www.123aspx.com/redir.aspx?res=31841
TPM
Add yourself to the VBForums Frappr Map!!
-
Jul 21st, 2005, 11:13 PM
#5
Thread Starter
Addicted Member
Re: dll deployment
other aspx are compiling ok... .NEt is working in IIS, for the class is this correct?
Code:
<object id="simpleControl1" classid="TrialControl.dll#TrialControl.SimpleControl" name="SimpleControl1"
the dll is in the same directory as the aspx file...
thanks,
Jewel
-
Jul 21st, 2005, 11:18 PM
#6
Re: dll deployment
Usually I use the full Dir. Maybe that'll fix it.
TPM
Add yourself to the VBForums Frappr Map!!
-
Jul 21st, 2005, 11:21 PM
#7
Thread Starter
Addicted Member
Re: dll deployment
hmm will try...but it why is that it works on my localhost pc?
-
Jul 21st, 2005, 11:23 PM
#8
Re: dll deployment
Good queestion....
Is it in a sub folder on the server? Maybe it's looking to the root for the file...
TPM
Add yourself to the VBForums Frappr Map!!
-
Jul 21st, 2005, 11:31 PM
#9
Thread Starter
Addicted Member
Re: dll deployment
yes sub folder in the IIS root...
-
Jul 21st, 2005, 11:38 PM
#10
Re: dll deployment
That maybe why then... Let me know.
TPM
Add yourself to the VBForums Frappr Map!!
-
Jul 22nd, 2005, 01:03 AM
#11
Re: dll deployment
Create a virtual directory on your web host, copy your app over to that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|