trac "OperationalError: attempt to write a readonly database" problem with visualsvn - database

I have installed the latest VisualSVN (2.0.5) and its trac-package on WindowsXP, but ran into a problem. The trac system works, except the "Timeline" tab. When I clicked on it, I saw
Oops…
Trac detected an internal error:
OperationalError: attempt to write a readonly database
Does anybody have any idea, why it does not works? Everything was installed and configured using its manual.

change the owner of the folder where the TRAC enviroment lives
this is check the user that runs the VisualSVN service and give access to this user to the folder where trac runs
this fix me issue

As user163175 said you have to change the owner (or give permission to the web server user).
To do this on Windows (Server Standard) you need to:
Go to your trac directory (where all the your trac projects live, the one you set as PythonOption TracEnvParentDir) in explorer
Right click and select Properties
Click on the Edit... button
Click Add... button
Type "NETWORK SERVICE" in to the Enter the object names to select input
Click the Check Names button.
Click on OK
Click on the new NETWORK SERVICE user/group
Check off "Full Control"
Click Apply
That should do it (at least that worked for me).

Related

400 - Exception of type 'DotNetNuke.Services.Exceptions.SecurityException' was thrown

I create a role named as XYZ_Role. Then i create a user abc, Edit the user, then I click on Manage Roles for this User, Then i add XYZ_Role role to this user. Now on page there is edit for this role. \
Now i open this page, then go to module setting, then give edit right to this Role XYZ_Role.
Now i sign out from administrator user. Then i login as "abc" . Now i open this page. I found View/ Edit option (No design option here.). I choose Edit option, now i change the content, and click on save icon but it shows me error as given below :
400 - Exception of type 'DotNetNuke.Services.Exceptions.SecurityException' was thrown.
I am using DNN 4.09.05/ Windows XP Version 2002, Service Pack 3/ IIS V5.1
But if i give right to this page from admin --> Pages to XYZ_Role role, then we have to click on Edit Text which work fine.
Please suggest.
Regards,
Vineet Yadav
I would suggest upgrading to a newer version of DNN. 4.9.5 is many years old and there are hundreds of bugs, including security bugs, that have been fixed.

DNN User Accounts Module Error

I moved my working DNN solution to a different server but after that the user accounts module does not work. When I click 'Users' on the control panel and enter the username and search I am able to pick up the user I searched for but when I click on 'Manage Roles' it gives me the following error:
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
I am on version 4.7.0. I am using active directory.
Please help.
Are you by chance using SSL? You might look at the TABS table to see if any of the Admin pages are marked as SECURE

Site.com Error for system administrator

I am trying to edit site.com site in my org, Through i am system administrator it gives me access level error shown below:
'you do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.'
Any suggestion??
Check the security tips from https://salesforce.stackexchange.com/questions/5598/permission-problem-in-sales-forece and http://boards.developerforce.com/t5/Force-com-Sites-Site-com/page-is-showing-insufficient-privilege/td-p/233797
If you're sure the security of the Site is fine - try to debug the site https://salesforce.stackexchange.com/questions/1149/how-can-i-get-a-debug-log-for-the-sites-guest-user-public-profile (because you might be getting an Apex error that's not being displayed on your VF page).
Did the site used to work or is it new? If it's new I'm betting on permissions (first 2 links), Guest User profile should be examined if he has access to the objects you're using...
Last but not least: there's a bug they've fixed 5 days ago: http://success.salesforce.com/issues_view?id=a1p30000000RivgAAC Maybe you need to use this workaround, maybe you simply can clone the site and it'll work fine...
you have to check your profile, and i guess that there is someone who have created the profile for you and delegate you to be an administrator, if this is not your problem, you have to go to your personnal informations and click edit and you may find a checkbox which concerns "Site Publisher" you have to check it to be able to create and publish your site :)

Cannot create database/run other commands in DB2 Command Line Processor

I'm unable to create database using DB2 Command Line Processor (DB2 Express C). I wrote a simple operation to create a database :
db2=> create database wiki
It's showing me an error :
SQL1092N The requested command or operation failed because the user
ID does not have the authority to perform the requested command or
operation. User ID: "VINAYAKP".
I've never worked on DB2 before. Also, from First Steps; it is just opening a prompt and it displays nothing. I'm using a thin client. Kindly tell me about this error and how to resolve it. Also, need to know any alternate way other than using the command line processor.
Note: I'm using Windows OS
Thanks
As the above answer didn't seem to work for me, I'm adding my solution. (command line only) [windows]
I simply launched db2cmd as the db2admin user (default).
To achieve this, execute the following command in command prompt:
runas /noprofile /user:db2admin db2cmd
This will launch a new cmd window logged in as the admin user. You can now execute any db2 commands from this window.
To resolve this issue you need to have the DB2 services started as Domain account, not a local account. In order to change the DB2 services to a Domain account do the following:
1.) Go to Start->Control Panel->Administration Tools->Services.
2.) Find the DB2-0 process right click on it and pick "Properties".
3.) Pick the "Log On" tab.
4.) Then choose "This account" radial button, then "Browse".
5.) A window will pop up called Select User click the Advanced button, then click "Find Now".
6.) A list of all users on the machine will be shown, choose the domain user and select "OK".
7.) To save the change click "Apply" then "OK".
8.) Restart the service/instance.

Installshield Folder Permissions not working

Using InstallShield 2012 Professional to install a ASP.NET website, and a custom app pool running in securitry context of a network service account. When I test the website, I encounter a permissions issue (file permissions), and the website fails with the message "Error: Access is Denied.".
Using InstallShield, I set permissions to each file for read access to the user "Authenticated Users". I set the permissions within the InstallShield ISM file by navigating to "Application Data" -> "Files and Folders"
Select each folder in the "Destination computer's folders"
Right-click each folder in the "Destination computer's folders"
Select context menu "Properties"
Click button "Permissions"
Add entry in "Name(s):" section for user "Authenticated Users", and domain is blank (select "Read & Execute", "List Folder Contents", "Read")
... then perform this action over and over again for each folder, then for each file.
Once I test, I find I have the problem. If I navigate to the actual files installed on the server and review, they appear correct, but do not function correctly. Infact, I - as a Authenticated User - do not have permissions to navigate the folder structure, but because I am an admin I can tweak the permissions and get in. If I manually reset these permissions on each of these files (and related folders) the website functions correctly. This means the app pool setup, the file copy, and the network service account are all functioning correctly, and the problem is strictly related to the permissions on the files IIS is trying to access.
Has anyone had this problem, and overcome it? If so, how? (I would prefer to avoid using InstallScript to set permissions.)
Notes:.
when considering settings in the "General Information" area, specifically the "Locked-Down Permissions" property - the behavior of file level permissions settings in InstallShield will differ. When selecting "Traditional Windows Installer handling", I was never successful adding explicit permissions. I noticed when doing so, all inherited permissions on the folder would dissappear. Additionally, while it appears the permissions are set in Windows, they behave like they are not set. Manual manipulation tests would show they were not correctly set.
When setting the "Locked-Down Permissions" property to "Custom InstallShield handling", I was able to add a permission and all inherited permissions remained intact. With this, I was able to apply the desired permissions to the root installation directory in the "Application Data"->"Files and Folders" area, and because I elected "Custom InstallShield handling" I am able to select the check box "Apply these permissions to child objects" in the advanced area of the permissions area of a folder property.
Steps to finalize and fix my problem:
In InstallShield (ISM file)...
Navigate to "General Information" (Lefthand pane)
Set Locked-Down Permissions to "Custom InstallShield handling"
Navigate to "Application Data"
Right-click the root folder where program is to be installed
Click "Properties"
Click button "Permissions"
Right-click top half of screen in white box area labeled "Name(s)"
Select context menu item "New"
Remove domain user leaving this field blank
Added user "Authenticated User"
Select check boxes in lower area ("Read & execute", "List Folder Contents", "Read")
Click button "Advanced"
Check checkbox "Apply these permissions to child objects"
Click button "OK"
Click button "OK"
Click button "OK"
Recompile installation program and install. Now works.

Resources