Category: .Net

Jun 14

Error 1 SQL03006: User: [ ] has an unresolved reference to Login [ ]

I am running into an issue when I import a db into a SQL Database project which indicates that “Error 1 SQL03006: User: [x] has an unresolved reference to Login [x]”. After doing some research I found out that to be able to execute the Create User command the x.user.sql file contains you need to …

Continue reading

Jun 14

The specified domain either does not exist or could not be contacted

I have a method that queries Active Directory and it works fine on a domain computer, however, when I try using another machine that has connectivity towards AD and I pass the domain credentials that have the necessarily rights to connect. I’m not sure what to try next below is the error message I get:     …

Continue reading

Jun 13

where does the system.servicemodel section go?

Within the Configuration section: xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?> <configuration>   <system.serviceModel>   </system.serviceModel> </configuration>

Jun 12

Where does the connection string go in web.config?

You just need to add it within the Configuration tag, at the same level System.web is. <?xml version=”1.0″ encoding=”utf-8″ ?> <configuration> </configuration>

Jun 12

How to maintain a centralized repository of the db schema and have it under source control

A question on many development projects that use a database is how to share that database with the entire development team and keep up a centralized, version controlled version of the schema which can be easily shared, deployed and maintained. Visual Studio 2010 steps up to the challenge with the database projects.  You can easily …

Continue reading

Jan 13

How to make your Telerik controls work on a Custom SharePoint 2010 web application

There are 3 important things you need to do in order for the Telerik controls to work with your custom .Net page in SharePoint 2010 Makes sure all your assemblies are marked as safe asdf asdf Assemblies: <SafeControl Assembly=”Telerik.Web.UI, Version=2010.3.1215.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4″ Namespace=”Telerik.Web.UI” TypeName=”*” Safe=”True” SafeAgainstScript=”False” /> <SafeControl Assembly=”Telerik.Web.UI, Version=2010.3.1215.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4″ Namespace=”Telerik.Web.UI.Editor” TypeName=”*” Safe=”True” …

Continue reading

Jan 12

Telerik – The base class includes the field {}, but its type {} (Telerik.Web.UI.RadGrid) is not compatible with the type of control (Telerik.Web.UI.RadGrid).

The error message: “The base class includes the field , but its type (Telerik.Web.UI.RadGrid) is not compatible with the type of control (Telerik.Web.UI.RadGrid).” results when you try to perform an update of the .dlls a control is using and your application is expecting a different version of the .dlls. To resolve this issue go to …

Continue reading

Dec 03

How to make DevExpress work on your Sharepoint 2010 Application Page

After reading many posts I can say it is very hard to find information on how to get Custom Controls created by third parties working properly in SharePoint 2010 Application Pages (I guess a lot of people are not doing them yet). The solution actually turned out to be a bit simpler than one would …

Continue reading

Dec 02

Entity Framework 4: Any way to know the plural form of an Entity Type?

While working on a project I came across the need to identify what the entity set name is so I can use that to add an updated entity to the set. In order to identify the plural I came up with two options: Use the Pluralization service to figure out the entity set name: The …

Continue reading

Dec 02

Pluralization Services

Recently as part of my work with the Entity Framework (EF) I came across a very interesting feature that could be leveraged in many other areas beyond the EF: The Pluralization Services. As you may be aware of, the EF has a feature that pluralizes the name of an entity when making entity sets. In …

Continue reading

Load more