Skip to main content

Posts

Entity Framework 4 and SQL Server 2000

it can be done!!.. (Microsoft .NET,Microsoft SQL Server,Database) by Jason Skowronek on 11/07/2011 If you are unfortunate enough to have to support applications running on legacy SQL Server 2000 databases like me, you are probably aware of the limitation of Visual Studio 2010 and Entity Framework 4.0 for SQL Server 2000 . There are plenty of articles out there on work-arounds. I find this one the most direct and feasible. Granted, I have not looked into possible version issue that may result in doing it this way, but for the various applications on which I have worked, it is sufficiently elegant and functional. This a work-around. Let me repeat, this is a work-around! . Here are the steps to add a new Entity Framework 4 entity context to a Visual Studio 2010 project: Download the base entity data model for SQL Server 2000 file and save it to the project folder to which you wish to add the SQL 2000 entity context. Do NOT add it to your pr...

Failed to access IIS metabase

it happens to me when try do access published asp.net 2.0 using IIS.. i've tried reinstall .net framework (2.0), republish then failed again the solution that works for me are Copy the asp.net webpage folder then mapped it to IIS instead of use the Published page hope it works for others too see u

No application is associated with the specified file for this operation in c#

hi all, if u found exception like the Title "No application is associated with the specified file for this operation" when u try to use Process to execute something that u must try this: set the default program to open the file ex: file .txt extension then u must set the default program to Notepad then u can try it again to test if it worked this solution worked for me :D see u later

Add network Share Printer in Windows that using differen version of Windows

Here is the step-by-step description 1) Share Permissions  1. On explorer, go to C:\windows\system32\spool\PRINTERS  2. Right click, Properties  3. Sharing tab  4. Advanced Sharing  5. Check "Share this folder"  6. Permissions  7. Grant everyone Full Control  2) NTFS Permissions  1. On explorer, go to C:\windows\system32\spool\printers  2. Right click, Properties  3. Security tab  4. Edit  5. Add  6. Advanced  7. Find Now  8. Choose "NETWORK"  9. OK  10. Grant NETWORK Full Control  read here for details  see u next time

MVC 3 Razor Engine with Hosting Server

hi all, i got trouble at first when try to upload my existing website to shared hosting my site is working fine in my local, the CS at my hosting said something wrong with my web.config.. the error something like "401 - Unauthorized: Access is denied due to invalid credentials or " which is not clear enough what is wrong so after 6 days searching finally found something that very useful u need to add under namespace in ur root web.config u can look at here to read it more..see the comments see u