Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: Server Error in '/' Application (IW Library)



Permlink Replies: 3 - Last Post: Apr 7, 2016 1:21 AM Last Post By: Alexandre Machado
Serg Prolog

Posts: 15
Registered: 12/9/13
Server Error in '/' Application (IW Library)
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 30, 2014 2:45 AM
I'm trying to deploy ASPX project. The server returns an error:


Server Error in '/' Application.

The operation completed successfully

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.ComponentModel.Win32Exception: The operation completed successfully

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:

[Win32Exception (0x80004005): The operation completed successfully]
IntraWeb.Instance..ctor(String aPathname) +288
IntraWeb.MainController..cctor() +179

[TypeInitializationException: The type initializer for 'IntraWeb.MainController' threw an exception.]
IntraWeb.MainController..ctor() +0

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +159
System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +256
System.Activator.CreateInstance(Type type, Boolean nonPublic) +127
System.Activator.CreateInstance(Type type) +11
System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +92

[InvalidOperationException: An error occurred when trying to create a controller of type 'IntraWeb.MainController'. Make sure that the controller has a parameterless public constructor.]
System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +683167
System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +89
System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +305
System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +87
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +12651623
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288


Serg Prolog

Posts: 15
Registered: 12/9/13
Re: Server Error in '/' Application (IW Library)
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 30, 2014 5:34 PM   in response to: Serg Prolog in response to: Serg Prolog
Thank you all. This helped
http://docs.atozed.com/docs.dll/deployment/ASPX%20Deployment.html
4.1.4 - Enable 32-Bit applications: True
bernard germain

Posts: 8
Registered: 4/20/02
Re: Server Error in '/' Application (IW Library)
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 1, 2016 9:12 AM   in response to: Serg Prolog in response to: Serg Prolog
Serg Prolog wrote:
Thank you all. This helped
http://docs.atozed.com/docs.dll/deployment/ASPX%20Deployment.html
4.1.4 - Enable 32-Bit applications: True

Hi,

I get the same message : C++ XE4, IW 14.0.52, Win 10 64Bits.
32 bits applications set to True.

Anything else to check?
I have seen this in the description of the release of IX 14.0.9 :
<<A new type of IntraWeb project was added to IntraWeb Application Wizard: IW Library (for Delphi only in this first release). This new type of project is used with ASPX deployment.>>
But this type doesn't exist anmore so I used an ISAPI dll.

Thanks.
Alexandre Machado

Posts: 1,640
Registered: 8/10/13
Re: Server Error in '/' Application (IW Library)
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 7, 2016 1:21 AM   in response to: bernard germain in response to: bernard germain
But this type doesn't exist anmore so I used an ISAPI dll.

What type of deployment does not exist anymore? In order to deploy as an ASPX module you must create the application as IW Library using the IntraWeb application wizard.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02