Object reference not set to an instance of an object

  • 5 January 2006
  • 9 replies
  • 4 views

Badge +1
Hi,

When trying to load the workspace i encountered this error. Do i have a bad installation? All document workflow functions normally, but i am just unable to load the workspace.

Server Error in '/K2V3/Workspace' Application.
Object reference not set to an instance of an object.


[NullReferenceException: Object reference not set to an instance of an object.]
Workspace.Net.WorkSpace1.Page_Load(Object sender, EventArgs e) +272
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731

9 replies

Badge +4
It might be a version problem. I would suggest a re-install, but before your do the following:
1. Open IIS and right click on the K2V3 web site and click on properties.
2. Remove the application name.
3. Click on Create .
4. Test again.
Badge +1
Hi David,

Thanks for the reply. I tried your steps, but it still doesnt work for me. Any other suggestions would be welcomed.
A reinstallation would be the last resort for me.
Badge +11
What version of K2.net 2003 are you using?

Regards,
Ockert
Badge +1
Hi Ockert,

Im using K2.net 2003 with SP2a(3.5140.1.0). Thanks
Badge +11
Did you upgrade from a previous version or was it a clean install? If upgrade, from what version?

Have a look at the following sites in IIS:
K2V3, Workspace, WorkspaceService

Do they all start up under the same AppPool? Are they all set to 'Use Integrated Windows Authentication?

Can you successfully browse any other .aspx pages on your web server?

What does your environment look like? Everything (K2.net, SQL, IIS) on one machine or distributed? What operating system (with service packs) are you using?

Regards,
Ockert
Badge +1
Hi,

1. It was a fresh installation.
2. All IIS sites run under the same app pool using Integrated Authentication, scripts only.
3. My environment is a single machine setup. Windows 2003, MSSQL server and K2 are together.
4. Im able to browse to sample .aspx files on my web server.
Badge +11
Try to give 'Authenticated Users' - 'Read' permissions on 'C:Program FilesK2.net 2003Bin' and 'Modify' permissions on 'C:WINDOWSMicrosoft.NETFrameworkv1.1.4322Temporary ASP.NET Files' and 'C:WINDOWSTemp'.

Also, did you run the installation as a local Administrator?

Regards,
Ockert
Badge +1
Nope, still doesnt work.

I ran the installation under a domain account which was part of the local admin group.
Badge +11
Well, in that case, there's not a lot I can think of except for uninstall and reinstall.

If it still doesn't work, please contact your local K2.net support office.

Regards,
Ockert

Reply