While configuring the base assembly during run time in the webconfig file, there are chances of confronting the following exception:
Server Error in '/' Application.
Object reference not set to an instance of an object.
An unhandled exception occurs during the execution of the current web request. Review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
The runtime binding is not configured in the webconfig for base assembly and thus the above exception is thrown on executing the project.
You can configure the base assembly in the project by adding the following lines of code in the webconfig file.
Note: In the above example, xx.xxxx.x.xx denotes the corresponding assembly version to be referred or configured or bound.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|