Upgrade to 6 causes undefined pop up and can't publish/delete pages
I upgraded from 5.4 to 6. When I open a page to edit I get an undefined pop up. I can't publish. I can't delete a page.
I created a brand new 6.0.4200.0 project from scratch. Just finished the install. The first thing I do is create a page. I received the same errors/issues as I did on the upgrade project. Can't publish/delete a page. So this probably means that there may be a server configuration issue. Did I miss some instructions somewhere on any changes with 6.0?
Dear Jaime
Is the new project on the same envirement as older projects you created?
Make sure you have followed this: www.sitefinity.com/.../configuring-the-iis-to-host-sitefinity-projects
Last project I deployed was on a new 2012 IIS 7.5 server and I forgot to make the needed changes.
Markus
Both projects are in the same environment. I have followed the IIS steps to host Sitefinity. Sitefinity has been working properly on the original project with 5.2 and 5.4. 6.0 doesn't work now.
Hi Jaime,
The problem is most probably related to the your service endpoints not being found. In order to fix this, you should go to your backend and set the WorkflowBaseUrl property.
Here's a blogpost that explains the issue and guides through the possible fix:
http://www.sitefinity.com/developer-network/knowledge-base/pages-cannot-be-published-after-installation
Svetoslav,
This didn't fix my issue.
Jaime
Hi Jaime,
I responded to you in your support ticket. We will probably need your project to determine the exact issue.
Regards,I'm actually seeing the same error after upgrading to 6.x as well; I happened across this thread in my search for assistance. If there is a generalized solution for this it would be great if it were posted to the thread. Thanks!
Hi Christopher,
The problem comes from the Telerik.Everlive.Sdk.dll and could be easily fixed by just deleting the .dll and disabling the EverliveConnector if you are not using it. Another fix is an upgrade of your .Net framework to 4.0.3.
Regards,The solution Svetoslav suggested did not work for me (deleting the dll and disabling EverliveConnector), so this is now under investigation by Support. Is there anyone who managed to fix this issue?
I am having what seems to be the same issue. I have taken some snapshots of the errors as well. I just upgraded my local project to 6.2.4900 and I can not publish products programmatically or through the backend and I get Undefined alert windows pop up when I go to create a product in backend.
My Symptoms:
-In the Backend, when I click "Create Product" it takes me to the create product page although the "More Options" drop down does not work and two little "Undefined" alert windows pop up. I attached a snapshot.
-In the backend, when I click "Publish" on products that have been drafted I get a error messages that I have taken a snapshot of and attached to this post.
-When I programmatically attempt to "Publish" a product It fails on this line of code:
WorkflowManager.MessageWorkflow(p.Id, p.GetType(),
"OpenAccessDataProvider"
, workflowOperation,
false
, contextBag);
When the program fails on that line of code I get a generic message stating something like: "The remote host forcibly closed connection"
I will most likely throw a support ticket in on this but I thought it was good for people to see the resolve here as well. This thread must be related to these problems I am having.
If anyone has any answers let me know. Things I have tried: I have deleted my "Telerik.Everlive.Sdk.dll". I have also tried to add the workflowbaseUrl to local host but I think this solution is more relevant to published sites. Mine is still local for now.
Thanks,
James
Just FYI,
I was developing my first Sitefinity site on dev. environment and it worked fine.
After deploying it onto production device, I've got this issue (WorkflowService.svc has 500 error and got undefined popup on client side); and Svetoslav's solution here www.sitefinity.com/.../Tt9mYwGWOU-HEUxAt9sNSw solved the problem.
Thanks.
Hi all,
@James
I am transferring the response from the support ticket for all to view:
"Please try the following code in order to create an eCommerce product:"
CatalogManager manager = CatalogManager.GetManager();
EcommerceManager ecommerceManager = EcommerceManager.GetManager();
ProductType productType = ecommerceManager.GetProductTypes().Where(t => t.Title ==
"Book"
).SingleOrDefault();
Product product = manager.CreateProduct(productType.ClrType);
product.ClrType = productType.ClrType;
product.Title =
"Title"
;
product.AssociateBuyerWithRole = Guid.Empty;
product.DateCreated = DateTime.Now;
product.Price = 12;
product.SalePrice = 4;
product.Sku =
"6"
;
product.UrlName = Regex.Replace(
"Title"
.ToLower(), @
"[^\w\-\!\$\'\(\)\=\@\d_]+"
,
"-"
);
product.Visible =
true
;
product.Weight = 89;
product.Status = ContentLifecycleStatus.Master;
manager.Provider.RecompileItemUrls(product);
manager.SaveChanges();
manager.Lifecycle.Publish(product);
manager.SaveChanges();
Hi Ivan
I'm having the same problem but am on standard edition of Sitefinity. Since the standard edition does not support the e-commerce module, can you please give an alternative API code that can fix the problem?
Thanks
Hi all,
@Yosief,
The nature of this problem is highly project specific, meaning that what worked for James will not necessarily work for your particular case. Your issue is currently being addressed in your Support ticket. Please expect a solution there and feel free to share it with the rest.
Regards,
Ivan D. Dimitrov
Telerik
Hi Ivan
There was a custom-developed Sitefinity module that was de-actiavted. The module was built using an old version of the SDK (5.4). Sitefinity was not happy with the module’s dll sitting in the bin folder. After I removed the dll, I can publish pages.
Thanks a lot for the help.