Huh, I just deleted this topic? Anyhow, just ignore that comment. The exception still presists though, it seems the sql table is not created on installation. Is there any way to trigger this?
Ah ok :-) No problem.
The table hasn't been created indeed. Seems like a SQL permissions thing (user not db_owner)?
You can create the tabel yourself by running the SQL scripts found on Github manually: https://github.com/kipusoep/UrlTracker/tree/master/SQL
Also, the section for the tab is not created in Dashboard.config: <tab caption="Url Tracker"><control addPanel="true">/umbraco/UrlTracker/InfoCaster.Umbraco.UrlTracker.UI.UrlTrackerManagerWrapper.ascx</control></tab>
I wonder how it get's installed because there is no entrance in the package.config that copies a user-control or anything? Guess it's done in the code?
Hey... I have this same problem, however mine was caused by the following:
I backed up a production database and restored it to my local sql server.
Pointed umbraco dev site to local sql DB
error thrown
If i change my local dev environment to point to the production DB from where i took the backup, it works.
I've checked and the table does exist (though it's called cosec.icUrlTracker in both databases)
SO, I have a working site when pointing to the DB on the server, but when i point to the DB on my local SQL server instance (same DB), it fails.
I suspect it's permissions based, however I've set the permissions to the same from what i can tell, and even assigned schemas as per production server.
Okay, so running the SQL create script fixes the issue.... which is weird as the table it creates doesn't exist on the production DB, yet pointing to that DB works on my local. WTF??
Anyway, i'm up and running for now, but I'd love to have a resolution to this before i need to do this restore procedure again.
SqlException: icUrlTracker (hard coded paths)
Hi, please have a look at the code and remove the hardcoded paths! Use Server.MapPath("~/umbraco/myFile.ascx").
Which hardcoded paths are you talking about??
Huh, I just deleted this topic? Anyhow, just ignore that comment. The exception still presists though, it seems the sql table is not created on installation. Is there any way to trigger this?
Ah ok :-) No problem.
The table hasn't been created indeed. Seems like a SQL permissions thing (user not db_owner)?
You can create the tabel yourself by running the SQL scripts found on Github manually: https://github.com/kipusoep/UrlTracker/tree/master/SQL
Also, the section for the tab is not created in Dashboard.config:
<tab caption="Url Tracker"><control addPanel="true">/umbraco/UrlTracker/InfoCaster.Umbraco.UrlTracker.UI.UrlTrackerManagerWrapper.ascx</control></tab>
I wonder how it get's installed because there is no entrance in the package.config that copies a user-control or anything? Guess it's done in the code?
Hi, wow, that's a fast response :) thank you for the sql scripts, It's all working fine now.
It's done in code indeed.
You're welcome, I hope you will enjoy the package :-) Could you mark this topic as resolved? Ty!
Hey... I have this same problem, however mine was caused by the following:
If i change my local dev environment to point to the production DB from where i took the backup, it works.
I've checked and the table does exist (though it's called cosec.icUrlTracker in both databases)
SO, I have a working site when pointing to the DB on the server, but when i point to the DB on my local SQL server instance (same DB), it fails.
I suspect it's permissions based, however I've set the permissions to the same from what i can tell, and even assigned schemas as per production server.
Any ideas what else could be causing this?
Thanks Greg
Okay, so running the SQL create script fixes the issue.... which is weird as the table it creates doesn't exist on the production DB, yet pointing to that DB works on my local. WTF??
Anyway, i'm up and running for now, but I'd love to have a resolution to this before i need to do this restore procedure again.
Hi @Greg, I've got the same problem - after copying my server db to local. Did you find a solution to this? Thanks
I was able to fix the backup/restore issue by running this against the database:
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.