Home > database >  PB 11 WEB FORM error?
PB 11 WEB FORM error?

Time:10-04

Create a WEB FORM after the Application, Deploy, Run error is as follows:

I don't know what reason be?


Server Error in '/' Application.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

The Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Both Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an Error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This Error can be under caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 404: & lt; ! -- Line 405:
Line 406: & lt; Membership>
Line 407: & lt; Providers>
Line 408: & lt; The clear/& gt;


The Source File: c: \ inetpub \ below \ abcd \ web config Line: 406


Show Additional Configuration Errors:


It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be under caused by a virtual directory not being configured as an application in IIS. (c: \ inetpub \ below \ abcd \ web config line 443)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be under caused by a virtual directory not being configured as an application in IIS. (c: \ inetpub \ below \ abcd \ web config line 488)

CodePudding user response:

IIS (asp.net), the.net framework 2.0, the.net framework 2.0 SDK is installed before installing the PB11?

CodePudding user response:

IIS is installed after the installation PB11, is there a problem?

CodePudding user response:

Which one you are using PB11 build?

CodePudding user response:

If the IIS after PB11 installation, you must manually register the asp user,
Concrete is first found ms framework installation directory, such as C:\WINDOWS\Microsoft.NET \ framework \ v2.0.50727,, then in that directory DOS command aspnet_regiis. Exe/I - ga IUSER_ (iis user), check on your own, or see the help

CodePudding user response:

Source Error:


Line 381: & lt; Compilation defaultLanguage="c #" debug="true" & gt;
Line 382: & lt; Assemblies>
Line 383: & lt; Add the assembly="Sybase. The original concept. The Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00"/& gt;
Line 384: & lt; Add the assembly="Sybase.PowerBuilder.Com mon, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00"/& gt;
Line 385: & lt; Add the assembly="Sybase. The original concept. The Web, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00"/& gt;


The Source File: c: \ inetpub \ below \ dazong \ web config Line: 383
Want to ask you what is the meaning of the error, how to solve?
Thank you, thank you!

CodePudding user response:

Assembly Load Trace: The following information can be helpful to determine according to The Assembly 'Sybase. The original concept. The Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00' could not be The loaded.


WRN: Assembly binding logging is turned OFF.
To enable the assembly bind failure logging, set the registry value [registry key HKLM \ Software \ Microsoft \ Fusion! EnableLog] (DWORD) To 1.
Note: There is some performance penalty associated with the assembly bind failure logging.
To turn this feature off, remove the registry value [registry key HKLM \ Software \ Microsoft \ Fusion! EnableLog].

CodePudding user response:

You have Chinese characters in the source program path?

At the time of conversion, if the path of Chinese characters, in the configuration file web. Config can't normal transformation, alternative to * and * of the path information in the configuration file to replace Chinese characters in the path of the source program with respect to OK

CodePudding user response:

Take a look at ASP.NET in the IIS version number is 2.0

CodePudding user response:

Wonitazansa1:
Your question is pb.net DLL not registered to the c: \ Windows \ directory to an assembly, estimated that you are using vista, pb11 early version hasn't officially support vista,
You can manually put the C: \ Program Files \ Sybase \ 11.0 \ DotNET \ bin original concept of 23 to Sybase. XXX at the beginning of a DLL drag and drop to the C: \ Windows \ directory to an assembly line,

The original poster is mainly the problem of environment is configured, IIS, the.net framework 2.0/SDK is installed, running aspnet_regiis -i try again, and IIS Settings. Net2.0 whether the current default framwork,,,

CodePudding user response:

Indeed, I tried to install a PB11 can success

CodePudding user response:

Can you convert web application even on a database
My pb11 program connect to the database when no conversion web normal
But couldn't connect to the database once converted to web
All say is converted into a web to use ado.net to connect to the database
I just use ado.net
But unable to connect to the db2 database
Please give advice or comments

CodePudding user response:

I don't know, to help

CodePudding user response:

No, for the top

CodePudding user response:

Is that if the first installation of the pb, after install. Net, in the c: \ Windows \ assembly without the system. Some powerbulder DLL, can't seem to copy, reinstall the pb

CodePudding user response:

Reinstall the pb is ok?
I'm the same blue/
  • Related