Showing posts with label website. Show all posts
Showing posts with label website. Show all posts

Friday, February 24, 2012

Database Readonly

I copied over a small website to 2003 Web Server and got:

Exception Details:System.Data.SqlClient.SqlException:Failed to update database"D:\INETPUB\WWWROOT\LUNCHCOUNT\APP_DATA\LUNCHCOUNT.MDF" because thedatabase is read-only.

It works just fine in VS - what to do?

Thanks

Whoops - should have followed the 10 minute rule. Found the folder didn't have Write turned on it permissions.|||Check if the MDF file is readonly file and change the permissions.

Sunday, February 19, 2012

Database Query... Novice Alert...No Idea Where to Turn...

Hello,

I'm creating a website for a student organization at my university. Basically, I have an Excel file with a list of contacts that the members of our organization need to be able to search on our website.

The only field that I need our members to be able to search is "contact location." So for example, a member might want to know if our organization has any contacts in Spain, so the member would type "spain" into the "contact location search" field" and would get results.

I really don't known where to turn... I need the easiest thing that would be manageable for a novice. It doesn't need to be an intense search function; just something to make the website functional (so it obviously needs to be uploadable to a server; the server has PHP capability...no idea if that has any relevance). I've been searching around all day and have come across potentials like PHP, SQL, XML, etc. but have no idea which way to turn... I have Office and Adobe Studio programs at my disposal.

Thank you all-powerful and all-knowing web gods! I owe you my deepest gratitude!

Mikey
:beer:Start by finding out what type of resources you have at your disposal for the university. Whether you use ASP/ASP.NET/PHP/MYSQL/MSSQL will likely determine the appropriate choice. From there you'll have at least a starting point.

Database problems with loging into my site

I have build a ASP.NET website with a login form. I can create an account but I am not able to login into the site. I have checked the connection string. I have changed the database folder and moved files around to get the database runing from a different folder but it still wont work. ThanksTim

Which version of ASP.NET are you working with?

Which version of SQL Server are you working with?

Try copying the contents of your connection string to a expty text file, rename the file to X.UDL and double click on it. The connection dialog should appear. Click the test button.

|||

i am using VWD 2005 Express and I am hosting it using IIS 5.1 (Windows XP) as my server. I am working on Workframe 2

Database Problem

hello all

i am develope a travel website, in this site there is an 14 database tables

in my local machine all the work is done properly like (insert, update, delete, adminlogin , client login, etc...)

but in the internet or main server it not work properly

what is this prob.

plz help me

ashwani

what happens when you run it on the internet?

Does it give you an error Message or just not save changes to the database?

|||

it could be a connection string problem, the application cannot connect to the database, or ASP.NET account doesn't have the proper rights.