Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Running a web service under DotNetNuke in iis7 / win 2008Running a web service under DotNetNuke in iis7 / win 2008
Previous
 
Next
New Post
12/19/2009 2:42 PM
 

Hi all -

My dnn version is 04.09.00
Server: Win 2008, iis7

I've been running web services under DotNetNuke for a long while when using Widows 2003 and iis6. I am migrating to a windows 2008 server/iis7, and now I'm getting problems with the embedded web services. When I browse to http://localhost/MyVirtualDirectory/service.asmx,

It then wants to go to the url: http://localhost/MyVirtualDirectory/Install/UnderConstruction.htm and gives an HTTP Error 404.0 - Not Found

Then if I force it back to service.asmx, I get this error:

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not find file 'D:\Domains\My_WS\MyVirtualDirectory\DotNetNuke.config'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[FileNotFoundException: Could not find file 'D:\Domains\My_WS\MyVirtualDirectory\DotNetNuke.config'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +305
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +1162
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +66
   DotNetNuke.HttpModules.RequestFilter.RequestFilterSettings.GetSettings() +210
   DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +242
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

Server Error in '/MyVirtualDirectory' Application.

Could not find file 'D:\Domains\My_WS\MyVirtualDirectory\DotNetNuke.config'.

 


Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016

Error Details

File  
Error   Cannot insert the value NULL into column 'LogServerName', table 'my_dnn.dbo.EventLog'; column does not allow nulls. INSERT fails. The statement has been terminated.

 

Is there anything I need to do special to go to win2008/iis7?

If requested I can post my web.config from main site, as well as the one for the web service.

Thanks guys!

James Auld
www.itabletop.com  

 
New Post
12/21/2009 12:32 PM
 

Any ideas - still wrestling with this... Thanks in advance!

 
New Post
1/2/2010 1:56 PM
 

I too am having problems running Server 2008 R2 with IIS7

Although the site seems to work correctly under Server 2003 and IIS, when I try and run it on the new 2008 server under IIS7 it comes up with the "This site is under construction" page.

 
New Post
6/21/2010 10:14 AM
 
Hi,
How can I deploy custom web service to hosted server side by side with dotnetnuke?
I deploy to server web service http://domain_name/directory_name/webservice_name.asmx. Service work great.
When I deploy DNN 5.x.x web site work great, but my web service stop working, I get following error:
Server Error in '/ directory_name ' Application.
________________________________________
Could not load file or assembly 'DotNetNuke.HttpModules' or one of its dependencies. The system cannot find the file specified.

Can you advise me please what I should change in server IIS and DNN installation?
 
New Post
6/21/2010 12:48 PM
 
make sure your web service does not have it's own web.config file.  You need to remove any web.config file from your service folder, and merge any relevant entries into the web.config file for your DotNetNuke site.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Running a web service under DotNetNuke in iis7 / win 2008Running a web service under DotNetNuke in iis7 / win 2008


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out