Object reference on product chnage (create product, save product, delete product)
If I try to create product I get this:
Please help me fix that error.
full text of the Error:
Server Error in '/' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
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.
Hi, thx for answer! That is Umbraco v6.1.6 (Assembly version: 1.0.5021.24867), uCommerce 6.0.3.14141.... it happened on the project at the end of development.... MB it's related to some database thing, like clear orders and baskets or something like.... The thing is I do not know where I have to looking for problem
I have just tried to create new project, and use existing data base, it's working... but then I moved everyting from my project to this test project and it retrurns error again : ( .... so the problem not in data base....
Hi, I have figured out what library do this error, it happens if I add NLog.dll.
But I can't do not use this library because it's needed for NemID sign on my site(it's a shop and user should be able to sign agreement by NemID).... could you give me some solution?
I have only development version of the project yet.
Everything was ok before I integrated NemID to site,
I do not know is Raven configured in uCommerce but if I add NLog.dll to my project, product create/delete/save do not work and I can see just this error (if remove it, uCommerce works again)
I will try to use some another version of NLog.dll but I afraid that is will not work for NemID... but it could be the solution, so I will try
Object reference on product chnage (create product, save product, delete product)
If I try to create product I get this:
Please help me fix that error.
full text of the Error:
Server Error in '/' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
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:
Seems to be deep inside Raven there's some method blowing up. Which is strange. IS this a fresh install?
Hi, thx for answer! That is Umbraco v6.1.6 (Assembly version: 1.0.5021.24867), uCommerce 6.0.3.14141.... it happened on the project at the end of development.... MB it's related to some database thing, like clear orders and baskets or something like.... The thing is I do not know where I have to looking for problem
I have just tried to create new project, and use existing data base, it's working... but then I moved everyting from my project to this test project and it retrurns error again : ( .... so the problem not in data base....
Hi, I have figured out what library do this error, it happens if I add NLog.dll. But I can't do not use this library because it's needed for NemID sign on my site(it's a shop and user should be able to sign agreement by NemID).... could you give me some solution?
Thx!
Hello,
How is this a problem only on the Live site?
Do you not have the NLog.dll present in the development environment?
Are there different versions of the NLog.dll on the two systems?
Or is Raven logging only configured in one of them?
Kind regards,
Jesper
Hello Jesper,
I have only development version of the project yet. Everything was ok before I integrated NemID to site, I do not know is Raven configured in uCommerce but if I add NLog.dll to my project, product create/delete/save do not work and I can see just this error (if remove it, uCommerce works again)
I will try to use some another version of NLog.dll but I afraid that is will not work for NemID... but it could be the solution, so I will try
Maybe some other ideas? : )
Thx for response!
Hello,
Looks very strange. So simply adding the assembly causes RavenDb to fail?
An idea could be to configure RavenDb for logging, since it looks like it is trying to set it up if NLog.dll is found.
I have no experience in doing that, so you will have to Google it. :-S
Kind regards,
Jesper
is working on a reply...