Web Connection
Stuck on Deployment
Gravatar is a globally recognized avatar based on your email address. Stuck on Deployment
  Rod
  All
  Jul 24, 2014 @ 01:26pm
I've chosen a Virtual Private Server (2008/IIS7) for deploying my Web app, so I have full access and control. I'm in WWC 5.43.

I've followed the instructions to copy every thing up to the server. I'm running the server configuration with Console.exe, creating a virtual "wconnect" as suggested because the apps just running out of the c:\wconnect root. But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.

I start up my EXE, but its clear the site is just not mapped to it. I hit the web page, but nothings happening in the WC console. And I get "500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed" on the browser.

I've tried turning off "Copying Separate version of wc.dll", and then I don't get the copy error, but it still won't run. I still get the 500 error.

I'm running everything as Administrator, though I don't think its necessary as I'm logged in as Administrator and I can freely copy files wherever I want. I've checked permissions on folders, which seems fine for Administrator.

It was all working fine on my test server.

I've looked at the Manual Server Configuration Topic, but the dialog screen shots look nothing like what I'm seeing in 2008/IIS7.

What am I missing?

Thanks for any help.

Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  FoxInCloud Support - Thierry N.
  Rod
  Jul 25, 2014 @ 04:32am
IIS runs wc.dll, you should shut down either your application or IIS itself

But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.


-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  Rod
  Thierry Nivelet (FoxInCloud)
  Jul 25, 2014 @ 04:54am
Thanks, Thierry.
I've reread the deployment help and I'm thinking because I only have one app that resides in c:\wconnect I can skip the whole virtual directory and copy wc.dll to virtual options.
When I create the script map extension, it doesn't populate the Script DLL: field, so I browse and select the wc.dll/ini I copied up into inetpub/wwwroot/<myapp>/bin folder.
The wizard completes with no errors. So now when I start my EXE manually and hit the page, I 'm back to the 500 error. So Something is not configured correctly I guess.


IIS runs wc.dll, you should shut down either your application or IIS itself

But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.


Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  FoxInCloud Support - Thierry N.
  Rod
  Jul 25, 2014 @ 05:02am
which version of IIS? (sorry if already mentioned)
which URL?


Thanks, Thierry.
I've reread the deployment help and I'm thinking because I only have one app that resides in c:\wconnect I can skip the whole virtual directory and copy wc.dll to virtual options.
When I create the script map extension, it doesn't populate the Script DLL: field, so I browse and select the wc.dll/ini I copied up into inetpub/wwwroot/<myapp>/bin folder.
The wizard completes with no errors. So now when I start my EXE manually and hit the page, I 'm back to the 500 error. So Something is not configured correctly I guess.


IIS runs wc.dll, you should shut down either your application or IIS itself

But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.




-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  Rod
  Thierry Nivelet (FoxInCloud)
  Jul 25, 2014 @ 05:11am
It's IIS 7.5 on a Windows Server 2008 R2.
My home page URL is a static html page on the default web site which has a link that points to the first script map. The script map templates and other HTML and CSS stuff is all contained in the apps sub folder.
Are you asking for the home page URL?


which version of IIS? (sorry if already mentioned)
which URL?


Thanks, Thierry.
I've reread the deployment help and I'm thinking because I only have one app that resides in c:\wconnect I can skip the whole virtual directory and copy wc.dll to virtual options.
When I create the script map extension, it doesn't populate the Script DLL: field, so I browse and select the wc.dll/ini I copied up into inetpub/wwwroot/<myapp>/bin folder.
The wizard completes with no errors. So now when I start my EXE manually and hit the page, I 'm back to the 500 error. So Something is not configured correctly I guess.


IIS runs wc.dll, you should shut down either your application or IIS itself

But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.




Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  FoxInCloud Support - Thierry N.
  Rod
  Jul 25, 2014 @ 05:15am
you mean you get a 500 error on a static html page?


It's IIS 7.5 on a Windows Server 2008 R2.
My home page URL is a static html page on the default web site which has a link that points to the first script map. The script map templates and other HTML and CSS stuff is all contained in the apps sub folder.
Are you asking for the home page URL?


which version of IIS? (sorry if already mentioned)
which URL?


Thanks, Thierry.
I've reread the deployment help and I'm thinking because I only have one app that resides in c:\wconnect I can skip the whole virtual directory and copy wc.dll to virtual options.
When I create the script map extension, it doesn't populate the Script DLL: field, so I browse and select the wc.dll/ini I copied up into inetpub/wwwroot/<myapp>/bin folder.
The wizard completes with no errors. So now when I start my EXE manually and hit the page, I 'm back to the 500 error. So Something is not configured correctly I guess.


IIS runs wc.dll, you should shut down either your application or IIS itself

But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.






-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  Rod
  Thierry Nivelet (FoxInCloud)
  Jul 25, 2014 @ 05:18am
No. When I click the link on the static page and it requests the first script mapped page in the sub folder. In my development server this triggers the authentication and then I get the page requested.
I can email you the URL if you'd like.


you mean you get a 500 error on a static html page?


It's IIS 7.5 on a Windows Server 2008 R2.
My home page URL is a static html page on the default web site which has a link that points to the first script map. The script map templates and other HTML and CSS stuff is all contained in the apps sub folder.
Are you asking for the home page URL?


which version of IIS? (sorry if already mentioned)
which URL?


Thanks, Thierry.
I've reread the deployment help and I'm thinking because I only have one app that resides in c:\wconnect I can skip the whole virtual directory and copy wc.dll to virtual options.
When I create the script map extension, it doesn't populate the Script DLL: field, so I browse and select the wc.dll/ini I copied up into inetpub/wwwroot/<myapp>/bin folder.
The wizard completes with no errors. So now when I start my EXE manually and hit the page, I 'm back to the 500 error. So Something is not configured correctly I guess.


IIS runs wc.dll, you should shut down either your application or IIS itself

But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.






Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  FoxInCloud Support - Thierry N.
  Rod
  Jul 25, 2014 @ 05:20am
OK, then IIS can't execute the application
do you use a bin\wc.dll type of URL?


No. When I click the link on the static page and it requests the first script mapped page in the sub folder. In my development server this triggers the authentication and then I get the page requested.
I can email you the URL if you'd like.


you mean you get a 500 error on a static html page?


It's IIS 7.5 on a Windows Server 2008 R2.
My home page URL is a static html page on the default web site which has a link that points to the first script map. The script map templates and other HTML and CSS stuff is all contained in the apps sub folder.
Are you asking for the home page URL?


which version of IIS? (sorry if already mentioned)
which URL?


Thanks, Thierry.
I've reread the deployment help and I'm thinking because I only have one app that resides in c:\wconnect I can skip the whole virtual directory and copy wc.dll to virtual options.
When I create the script map extension, it doesn't populate the Script DLL: field, so I browse and select the wc.dll/ini I copied up into inetpub/wwwroot/<myapp>/bin folder.
The wizard completes with no errors. So now when I start my EXE manually and hit the page, I 'm back to the 500 error. So Something is not configured correctly I guess.


IIS runs wc.dll, you should shut down either your application or IIS itself

But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.








-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  Rod
  Thierry Nivelet (FoxInCloud)
  Jul 25, 2014 @ 05:31am
No I'm only using script maps.


OK, then IIS can't execute the application
do you use a bin\wc.dll type of URL?


No. When I click the link on the static page and it requests the first script mapped page in the sub folder. In my development server this triggers the authentication and then I get the page requested.
I can email you the URL if you'd like.


you mean you get a 500 error on a static html page?


It's IIS 7.5 on a Windows Server 2008 R2.
My home page URL is a static html page on the default web site which has a link that points to the first script map. The script map templates and other HTML and CSS stuff is all contained in the apps sub folder.
Are you asking for the home page URL?


which version of IIS? (sorry if already mentioned)
which URL?


Thanks, Thierry.
I've reread the deployment help and I'm thinking because I only have one app that resides in c:\wconnect I can skip the whole virtual directory and copy wc.dll to virtual options.
When I create the script map extension, it doesn't populate the Script DLL: field, so I browse and select the wc.dll/ini I copied up into inetpub/wwwroot/<myapp>/bin folder.
The wizard completes with no errors. So now when I start my EXE manually and hit the page, I 'm back to the 500 error. So Something is not configured correctly I guess.


IIS runs wc.dll, you should shut down either your application or IIS itself

But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.








Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  FoxInCloud Support - Thierry N.
  Rod
  Jul 25, 2014 @ 05:33am
regarding your your application pool,
- which user did you define?
- did you enable 32 bits applications?


No I'm only using script maps.


OK, then IIS can't execute the application
do you use a bin\wc.dll type of URL?


No. When I click the link on the static page and it requests the first script mapped page in the sub folder. In my development server this triggers the authentication and then I get the page requested.
I can email you the URL if you'd like.


you mean you get a 500 error on a static html page?


It's IIS 7.5 on a Windows Server 2008 R2.
My home page URL is a static html page on the default web site which has a link that points to the first script map. The script map templates and other HTML and CSS stuff is all contained in the apps sub folder.
Are you asking for the home page URL?


which version of IIS? (sorry if already mentioned)
which URL?


Thanks, Thierry.
I've reread the deployment help and I'm thinking because I only have one app that resides in c:\wconnect I can skip the whole virtual directory and copy wc.dll to virtual options.
When I create the script map extension, it doesn't populate the Script DLL: field, so I browse and select the wc.dll/ini I copied up into inetpub/wwwroot/<myapp>/bin folder.
The wizard completes with no errors. So now when I start my EXE manually and hit the page, I 'm back to the 500 error. So Something is not configured correctly I guess.


IIS runs wc.dll, you should shut down either your application or IIS itself

But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.










-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  Rod
  Thierry Nivelet (FoxInCloud)
  Jul 25, 2014 @ 05:39am
Enable 32 bit Applications!!! Thank you!!!
All set!


regarding your your application pool,
- which user did you define?
- did you enable 32 bits applications?


No I'm only using script maps.


OK, then IIS can't execute the application
do you use a bin\wc.dll type of URL?


No. When I click the link on the static page and it requests the first script mapped page in the sub folder. In my development server this triggers the authentication and then I get the page requested.
I can email you the URL if you'd like.


you mean you get a 500 error on a static html page?


It's IIS 7.5 on a Windows Server 2008 R2.
My home page URL is a static html page on the default web site which has a link that points to the first script map. The script map templates and other HTML and CSS stuff is all contained in the apps sub folder.
Are you asking for the home page URL?


which version of IIS? (sorry if already mentioned)
which URL?


Thanks, Thierry.
I've reread the deployment help and I'm thinking because I only have one app that resides in c:\wconnect I can skip the whole virtual directory and copy wc.dll to virtual options.
When I create the script map extension, it doesn't populate the Script DLL: field, so I browse and select the wc.dll/ini I copied up into inetpub/wwwroot/<myapp>/bin folder.
The wizard completes with no errors. So now when I start my EXE manually and hit the page, I 'm back to the 500 error. So Something is not configured correctly I guess.


IIS runs wc.dll, you should shut down either your application or IIS itself

But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.










Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  FoxInCloud Support - Thierry N.
  Rod
  Jul 25, 2014 @ 06:27am
Great!
That's also for me a good exercise to increase my ability to quickly figure what clients' deployment problems may be ...
thanks for playing this 'sparring partner' role so patiently!


Enable 32 bit Applications!!! Thank you!!!
All set!


regarding your your application pool,
- which user did you define?
- did you enable 32 bits applications?


No I'm only using script maps.


OK, then IIS can't execute the application
do you use a bin\wc.dll type of URL?


No. When I click the link on the static page and it requests the first script mapped page in the sub folder. In my development server this triggers the authentication and then I get the page requested.
I can email you the URL if you'd like.


you mean you get a 500 error on a static html page?


It's IIS 7.5 on a Windows Server 2008 R2.
My home page URL is a static html page on the default web site which has a link that points to the first script map. The script map templates and other HTML and CSS stuff is all contained in the apps sub folder.
Are you asking for the home page URL?


which version of IIS? (sorry if already mentioned)
which URL?


Thanks, Thierry.
I've reread the deployment help and I'm thinking because I only have one app that resides in c:\wconnect I can skip the whole virtual directory and copy wc.dll to virtual options.
When I create the script map extension, it doesn't populate the Script DLL: field, so I browse and select the wc.dll/ini I copied up into inetpub/wwwroot/<myapp>/bin folder.
The wizard completes with no errors. So now when I start my EXE manually and hit the page, I 'm back to the 500 error. So Something is not configured correctly I guess.


IIS runs wc.dll, you should shut down either your application or IIS itself

But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.












-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  Rod
  Thierry Nivelet (FoxInCloud)
  Jul 25, 2014 @ 06:39am
No problem!!
P.S. I admire your work and your product. I have developed a vertical VFP application for fine auction houses over the past 27 years, which is in use around the world including the top 3 Paris auction houses. We've given some thought to your product, but our app is huge and complex and we would not have the resources to undertake a migration, as good a job as you have done. Our cloud solution is now Terminal Services and its all we can do to support what we have. Anyway, if you want to get into the auction business, you should let me know!


Great!
That's also for me a good exercise to increase my ability to quickly figure what clients' deployment problems may be ...
thanks for playing this 'sparring partner' role so patiently!


Enable 32 bit Applications!!! Thank you!!!
All set!


regarding your your application pool,
- which user did you define?
- did you enable 32 bits applications?


No I'm only using script maps.


OK, then IIS can't execute the application
do you use a bin\wc.dll type of URL?


No. When I click the link on the static page and it requests the first script mapped page in the sub folder. In my development server this triggers the authentication and then I get the page requested.
I can email you the URL if you'd like.


you mean you get a 500 error on a static html page?


It's IIS 7.5 on a Windows Server 2008 R2.
My home page URL is a static html page on the default web site which has a link that points to the first script map. The script map templates and other HTML and CSS stuff is all contained in the apps sub folder.
Are you asking for the home page URL?


which version of IIS? (sorry if already mentioned)
which URL?


Thanks, Thierry.
I've reread the deployment help and I'm thinking because I only have one app that resides in c:\wconnect I can skip the whole virtual directory and copy wc.dll to virtual options.
When I create the script map extension, it doesn't populate the Script DLL: field, so I browse and select the wc.dll/ini I copied up into inetpub/wwwroot/<myapp>/bin folder.
The wizard completes with no errors. So now when I start my EXE manually and hit the page, I 'm back to the 500 error. So Something is not configured correctly I guess.


IIS runs wc.dll, you should shut down either your application or IIS itself

But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.












Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  FoxInCloud Support - Thierry N.
  Rod
  Jul 25, 2014 @ 06:53am
Hey, there are already very complex FoxInCloud applications in production right now ... you may have already seen some screenshots right here - tell me if you'd like to see more and/or get some URLs to test.

eg over 50 forms, 1,000 controls, 1,000 events

Please consider:
1/ you can adapt - rather than 'migrate' or 'convert' as your application runs on both desktop and the web ;) - parts of your application step by step - say 5 forms first, then 5 more forms, etc.
2/ FoxInCloud supports most VFP features - no limitation here
3/ we can find resources for you if you have some budget and/or some opportunities for more business (a web applications is much easier to sell than a desktop application)

No problem!!
P.S. I admire your work and your product. I have developed a vertical VFP application for fine auction houses over the past 27 years, which is in use around the world including the top 3 Paris auction houses. We've given some thought to your product, but our app is huge and complex and we would not have the resources to undertake a migration, as good a job as you have done. Our cloud solution is now Terminal Services and it's all we can do to support what we have. Anyway, if you want to get into the auction business, you should let me know!


-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  Rod
  Thierry Nivelet (FoxInCloud)
  Jul 25, 2014 @ 06:57am
Thanks. Well this little project I'm doing is a good introduction to WWC. I don't lead the development team anymore, but I'll keep discussing with my associates.



Hey, there are already very complex FoxInCloud applications in production right now ... you may have already seen some screenshots right here - tell me if you'd like to see more and/or get some URLs to test.

eg over 50 forms, 1,000 controls, 1,000 events

Please consider:
1/ you can adapt - rather than 'migrate' or 'convert' as your application runs on both desktop and the web ;) - parts of your application step by step - say 5 forms first, then 5 more forms, etc.
2/ FoxInCloud supports most VFP features - no limitation here
3/ we can find resources for you if you have some budget and/or some opportunities for more business (a web applications is much easier to sell than a desktop application)

No problem!!
P.S. I admire your work and your product. I have developed a vertical VFP application for fine auction houses over the past 27 years, which is in use around the world including the top 3 Paris auction houses. We've given some thought to your product, but our app is huge and complex and we would not have the resources to undertake a migration, as good a job as you have done. Our cloud solution is now Terminal Services and it's all we can do to support what we have. Anyway, if you want to get into the auction business, you should let me know!


Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  n/a
  Rod
  Mar 7, 2015 @ 11:58am
Reading this whole thread, this looks like a solved issue, however it's my understanding that in later versions of IIS, you can't run WC.DLL out of the BIN folder.



I've chosen a Virtual Private Server (2008/IIS7) for deploying my Web app, so I have full access and control. I'm in WWC 5.43.

I've followed the instructions to copy every thing up to the server. I'm running the server configuration with Console.exe, creating a virtual "wconnect" as suggested because the apps just running out of the c:\wconnect root. But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.

I start up my EXE, but its clear the site is just not mapped to it. I hit the web page, but nothings happening in the WC console. And I get "500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed" on the browser.

I've tried turning off "Copying Separate version of wc.dll", and then I don't get the copy error, but it still won't run. I still get the 500 error.

I'm running everything as Administrator, though I don't think its necessary as I'm logged in as Administrator and I can freely copy files wherever I want. I've checked permissions on folders, which seems fine for Administrator.

It was all working fine on my test server.

I've looked at the Manual Server Configuration Topic, but the dialog screen shots look nothing like what I'm seeing in 2008/IIS7.

What am I missing?

Thanks for any help.


Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  n/a
  Russell Campbell
  Mar 7, 2015 @ 12:21pm
Hmm, researching this a little further, I guess that's when you don't use scriptmaps and use IIS 7+. I have always used scriptmaps, but it seems the admin page had some code that still called WC.DLL directly and so that may have been causing me issues. I just never put WC.DLL in the BIN folder to avoid the issue.



Reading this whole thread, this looks like a solved issue, however it's my understanding that in later versions of IIS, you can't run WC.DLL out of the BIN folder.



I've chosen a Virtual Private Server (2008/IIS7) for deploying my Web app, so I have full access and control. I'm in WWC 5.43.

I've followed the instructions to copy every thing up to the server. I'm running the server configuration with Console.exe, creating a virtual "wconnect" as suggested because the apps just running out of the c:\wconnect root. But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.

I start up my EXE, but its clear the site is just not mapped to it. I hit the web page, but nothings happening in the WC console. And I get "500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed" on the browser.

I've tried turning off "Copying Separate version of wc.dll", and then I don't get the copy error, but it still won't run. I still get the 500 error.

I'm running everything as Administrator, though I don't think its necessary as I'm logged in as Administrator and I can freely copy files wherever I want. I've checked permissions on folders, which seems fine for Administrator.

It was all working fine on my test server.

I've looked at the Manual Server Configuration Topic, but the dialog screen shots look nothing like what I'm seeing in 2008/IIS7.

What am I missing?

Thanks for any help.



Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  Rick Strahl
  Russell Campbell
  Mar 8, 2015 @ 05:41am

You probably have an old admin page. The most recent admin page uses wc.wc links for everything (or it should at least - let me know if it doesn't if you are running 5.5x and later).

+++ Rick ---



Hmm, researching this a little further, I guess that's when you don't use scriptmaps and use IIS 7+. I have always used scriptmaps, but it seems the admin page had some code that still called WC.DLL directly and so that may have been causing me issues. I just never put WC.DLL in the BIN folder to avoid the issue.



Reading this whole thread, this looks like a solved issue, however it's my understanding that in later versions of IIS, you can't run WC.DLL out of the BIN folder.



I've chosen a Virtual Private Server (2008/IIS7) for deploying my Web app, so I have full access and control. I'm in WWC 5.43.

I've followed the instructions to copy every thing up to the server. I'm running the server configuration with Console.exe, creating a virtual "wconnect" as suggested because the apps just running out of the c:\wconnect root. But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.

I start up my EXE, but its clear the site is just not mapped to it. I hit the web page, but nothings happening in the WC console. And I get "500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed" on the browser.

I've tried turning off "Copying Separate version of wc.dll", and then I don't get the copy error, but it still won't run. I still get the 500 error.

I'm running everything as Administrator, though I don't think its necessary as I'm logged in as Administrator and I can freely copy files wherever I want. I've checked permissions on folders, which seems fine for Administrator.

It was all working fine on my test server.

I've looked at the Manual Server Configuration Topic, but the dialog screen shots look nothing like what I'm seeing in 2008/IIS7.

What am I missing?

Thanks for any help.






Rick Strahl
West Wind Technologies

Making waves on the Web
from Maui

Gravatar is a globally recognized avatar based on your email address. Re: Stuck on Deployment
  Rick Strahl
  Russell Campbell
  Mar 8, 2015 @ 05:41am

You can run the DLL out of bin, but you have to configure IIS to allow it. There's Url restriction rule that disallows direct access to DLLs out of the bin folder.

There's absolutely no reason anybody should be using DLLs anymore. Even if apps have .dll links those links can be easily ported to scriptmaps with simple search and replace for wc.dll -> wc.wc in both code and HTML/Templates. Scriptmaps are so much cleaner and avoid a host of problems you have to deal with when using a hardcoded dll path.

+++ Rick ---


Hmm, researching this a little further, I guess that's when you don't use scriptmaps and use IIS 7+. I have always used scriptmaps, but it seems the admin page had some code that still called WC.DLL directly and so that may have been causing me issues. I just never put WC.DLL in the BIN folder to avoid the issue.



Reading this whole thread, this looks like a solved issue, however it's my understanding that in later versions of IIS, you can't run WC.DLL out of the BIN folder.



I've chosen a Virtual Private Server (2008/IIS7) for deploying my Web app, so I have full access and control. I'm in WWC 5.43.

I've followed the instructions to copy every thing up to the server. I'm running the server configuration with Console.exe, creating a virtual "wconnect" as suggested because the apps just running out of the c:\wconnect root. But I keep running into "unable to copy wc.dll to \bin, the file may be in use, shut down the server, etc." I assume that means the WC server, but I'm not running it.

I start up my EXE, but its clear the site is just not mapped to it. I hit the web page, but nothings happening in the WC console. And I get "500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed" on the browser.

I've tried turning off "Copying Separate version of wc.dll", and then I don't get the copy error, but it still won't run. I still get the 500 error.

I'm running everything as Administrator, though I don't think its necessary as I'm logged in as Administrator and I can freely copy files wherever I want. I've checked permissions on folders, which seems fine for Administrator.

It was all working fine on my test server.

I've looked at the Manual Server Configuration Topic, but the dialog screen shots look nothing like what I'm seeing in 2008/IIS7.

What am I missing?

Thanks for any help.






Rick Strahl
West Wind Technologies

Making waves on the Web
from Maui

© 1996-2024