Tuesday, December 15, 2009

Could not load file or assembly 'System.Data.SqlServerCe'

Solution :
When I migrate my 32 Bit VB.NET application to 64 Bit VB.NET 2008 compact application it throws me the error saying "Could not load file or assembly 'System.Data.SqlServerCe' " or similar to this error mesage.

When you run the application it may throw the following error saying that could not load or assembly 'System.Data.SqlServerCe' even after installing the service pack for Vista 64 bit OS and also for .NET framework 3.5 the same error prsist.

Then I identified that something is wrong with the core reference thatis is missing with framework. Then I installed the "Microsoft SQL Server Compact 3.5 Service Pack 1 and Synchronization Services for ADO.NET version 1.0 Service Pack 1 for Windows Desktop"

This installation will solve you the problem.
And then the problem you face is the different one. :)
restart the your system and then follow as per the http://sqlserverce.org/blogs/faq/archive/2007/02/09/missing-system-data.aspx

Thanks
Happy coding

Wednesday, November 18, 2009

Is it the difference?


Design Pattern: Programmatically how the whole system is going to be developed

Architecture: Systamatically how the solution is going to be developed.

Thursday, October 29, 2009

Sunday, September 20, 2009

ASP.NET controls and CSS usage tips

While using ASP.NET controls its hard to override font styles properties from CSS classes, because ASP.NET controls have there own font style properties for most of the controls.
So have this in mind and dont keep on thinking why some of the CSS font style properties not reflecting in the ASP.NET control. Just the font properties of the controls while using ASP.NET controls.

Thanks

Tuesday, September 01, 2009

Microsoft Surface Developer Challenge

The Microsoft Surface Developer Challenge is a fun entry into building intuitive and forward-thinking applications specifically for Microsoft Surface. Instead of simply retro-fitting existing applications for Microsoft Surface, this challenge starts and ends with touch. It’s about touch first computing on the Microsoft Surface platform.

Saturday, August 29, 2009

Assembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0,

Error Assembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

The solution worked for me is...
1) I changed target framework to 3.5 in all the projects in my solution
2) Clean all the projects in the solution
3) Rebuild the full solution
4) Open the web.config file and remove the content
<runtime >
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35">
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0">
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35">
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0">
</dependentAssembly>
</assemblyBinding>
</runtime>
and save.
5) Now close the Visual Studio 2008 and open again, clean the full solution and rebuild.
oooorey It worked :)
Hope this may help someone.

Thursday, August 20, 2009

Visual Studio 2008 - The requested page cannot be accessed because the related configuration data for the page is invalid

Error

---------------------------
Microsoft Visual Studio
---------------------------
Unable to start debugging on the web server.



Internet Information Services 7.0




Error Summary

HTTP Error 500.19 - Internal Server Error


The requested page cannot be accessed because the related configuration data for the page is invalid.





Detailed Error InformationError Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.




Config Source
   -1:
0:



Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.
---------------------------
OK Help
---------------------------

Solution
You are using IIS 7.0 on a computer that is running Windows Vista. Additionally, you configure the Web site to use UNC Passthrough authentication to access a remote Universal Naming Convention (UNC) share.The IIS_IUSRS group does not have the appropriate permissions for the ApplicationHost.config file or for the Web.config file.

I have given rights to folder which contains the web.config file. Now it works for me...

Tuesday, August 04, 2009

Types and there definitions in C#.NET

Type

Base class that represents any type.

Value Type

Base class that represents any value type.

Reference Types

Any data types that are accessed through a reference and stored on the heap.

Built-in Value Types

Includes most of the standard primitive types, which represent numbers, Boolean values, or characters.

Enumerations

Sets of enumerated values.

User-defined Value Types

Types that have been defined in source code and are stored as value types. In C# terms, this means any struct.

Interface Types

Interfaces.

Pointer Types

Pointers.

Self-describing Types

Data types that provide information about themselves for the benefit of the garbage collector .

Arrays

Any type that contains an array of objects.

Class Types

Types that are self-describing but are not arrays.

Delegates

Types that are designed to hold references to methods.

User-defined Reference Types

Types that have been defined in source code and are stored as reference types. In C# terms, this means any class.

Boxed Value Types

A value type that is temporarily wrapped in a reference so that it can be stored on the heap.

Thursday, July 30, 2009

In-memory application cache for all kinds of data

Microsoft project code named “Velocity” provides a highly scalable in-memory application cache for all kinds of data. By using cache, you can significantly improve application performance by avoiding unnecessary calls to the data source. Distributed cache enables your application to match increasing demand with increasing throughput by using a cache cluster that automatically manages the complexities of load balancing. When you use “Velocity,” you can retrieve data by using keys or other identifiers, named “tags.”

“Velocity” supports optimistic and pessimistic concurrency models, high availability, and a variety of cache configurations. “Velocity” includes an ASP.NET session provider object that enables you to store ASP.NET session objects in the distributed cache without having to write to databases, which increases the performance and scalability of ASP.NET applications.

For more information, see the What’s New topic in the product documentation.

Tuesday, July 21, 2009

ASP.NET website "Cannot read configuration file due to insufficient permissions" in IIS 7 and Windows Server 2008

"The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that \$ has Read access to the physical path. Then test these settings again."

"Cannot read configuration file due to insufficient permissions"


Solution:
1. Add IIS_IUSRS with Read permission on files in the folder
2. Change IIS authentication method to BasicAuthentication
3. refresh the website. It will work

Monday, July 06, 2009

Save Green, Earn Green, Code Green

Enter the Will Code for Green! developer contest and if your economy or ecology themed web application is chosen as one of the two grand prize winners at the 2009 gnomedex.com technology conference, you'll win $10,000 - enough to take the idea further! Imagine how that could help you help others!

Tell us how your application is either helping people deal with the worsening global economy or helping to improve the ecology of the planet Earth and Show Us how you're coding for green!

Check back every week as the entries grow and vote for your favorites (limit one per category) through August 12,2009! Please see the Official Rules for more information. Just enter your Email Address to begin.

Global SharePoint Survey

This is an independent survey being conducted to get a glimpse into the adoption and usage of Microsoft Office SharePoint products and technologies worldwide. The survey has been designed to ensure we are respectful of your time, no questions are mandatory, the majority of the questions are multiple choice, and the path of questions is customized based on your responses. In total there are fifteen questions

SharepointSurvey

The survey is open to both business and IT professional users of SharePoint. Those who participate in the survey will be eligible to win a conference pass to the 2009 Microsoft SharePoint Conference in Las Vegas (value USD $1199).

Monday, June 15, 2009

Could not write lines to file is denied. Visual Studio 2005

Error 11 Could not write lines to file "obj\Activities.csproj.FileList.txt". Access to the path 'D:\StarTeam\Activities\obj\Activities.csproj.FileList.txt' is denied. Activities

Issue: As you can see, MSBuild is trying to write to the *.vbproj.FileList.txt file in the \obj folder, but access is denied. If you look at this file on disk, you will notice that it is marked as read-only. No big deal, just turn off the read-only flag. You do this and rebuild, but the build passes. Very good! You go home with a nice case of the "warm fuzzies" and sleep like a baby. In the morning you come in to the office to find that the nightly build broke with the same exception. You look at the *.vbproj.FileList.txt file and it is read-only on the build machine. You scratch your head and let out a expletives and then delete the entire \obj folder. Then the nightly build is run again and if fails again damn it! Oh look, the *.vbproj.FileList.txt file is back to read-only. Sounding familiar yet?


Problem: The build fails because the *.vbproj.FileList.txt file is read-only so MSBuild can't write to it.


Reason: The file is read-only because you checked the \obj folder into source control in SteWhenevernevery you do a Getsourcesoruce control, the files are placed on the drive as read-only. The nightly build is configured to delete the prior run's source code (or should be) and Get from source control prior to building. Therefore every nightly build fails in the same way.


Solution: Delete the \obj folder from source control and check-in the change. That's it.

Tuesday, June 09, 2009

So what is XAMLFest?

XAML its all you want...
Are you excited about WPF but concerned about the learning curve? Have you seen Silverlight but don’t know where to get started? Or are you curious about how tools like Expression Blend help designers and developers deliver great user experiences together? If so, join us at XamlFest!

XAMLfest Online is a five day event hosted by msdev.com and delivered through both live sessions and recorded training. The recorded training can be viewed at any time, but each segment should be watched before you participate in a related live session. The table below should help illustrate how each session relates to another.

>Explore more>

Tuesday, May 12, 2009

Solution and Authored Artifact Development Models for SharePoint Products and Technologies

Learn about methodologies and strategies to reconcile differences between Microsoft SharePoint Products and Technologies artifact development and assembly development. The strategies include combining these two components into a single version control repository, such as Microsoft Visual Studio 2008 Team Foundation Server. (12 printed pages)

This article was feel good resource for SharePoint professional...
happy reading >>

Friday, May 08, 2009

Package Load Failure - You may use 'devenv /resetskippkgs' to re-enable package loading

Recently when I planned to explore on the Microsoft ServiceFactory, and leading to that I started setting up the development environment for the same. After installing ServiceFactoryV3 and Guidance Automation Extensions for my Visual Studio 2005, when I opened the Visual Studio IDE I was facing the first innovative task :) to be solved by me was the dll load error for the Service factory.

Handling the error messages of the development tools is not going to the new task for Microsoft technology programmers :) . The following is the error I faced

---------------------------Microsoft Visual Studio---------------------------Package Load Failure
Package 'Microsoft.Practices.ServiceFactory.VsPkg.ModelProjectPackage, Microsoft.Practices.ServiceFactory.VsPkg, Version=1.0.0.0, Culture=neutral, PublicKeyToken=628c8c43ff73aea8' has failed to load properly ( GUID = {3A053D37-49A0-4713-A3C4-6161158FB0C4} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future? You may use 'devenv /resetskippkgs' to re-enable package loading.

---------------------------Yes No ---------------------------

After few analysis I found that the dll's are not properly loaded into the GAC and than using the gacutil.exe I loaded all the dlls to GAC. That solved my problem.

Reference command: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>gacutil /i C:\Microsoft.Practices.ServiceFactory.VsPkg.dll

Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42Copyright (c) Microsoft Corporation. All rights reserved.
Assembly successfully added to the cache

Cheers :)

Thursday, April 09, 2009

Server Application Unavailable in IIS for ASP.NET application

Problem :
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

Solution 1:
Open the command promt and direct to the folder C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
and run the command to install ASP.NET in your IIS
aspnet_regiis.exe -i

Solution 2:
To work around this problem, verify that the ASPNET account has the correct user rights as follows:
a) %windir%\Microsoft.NET\Framework\Version\Temporary ASP.NET Files: Full Control
%windir%\Temp: Full Control
b) Application folder: Read
c) %installroot% hierarchy (for example, %windir%\Microsoft.Net\Framework\Version): Read
d) %windir%\Assembly: Read
e) Web site root (for example, %root%\Inetpub\Wwwroot) or the path that the default Web site points to: Read
f) %windir%\System32: Read(Typically, the ASPNET account has already been granted user rights as a member of the Users group.)
-----

---------------------------Microsoft Visual Studio---------------------------
Unable to start debugging on the web server. The web server could not find the requested resource.
Click Help for more information.
---------------------------OK Help ---------------------------
Solution worked for me. Close all the applications and reset IIS in command promt 'iisreset'

problem solved :) cheers

Monday, April 06, 2009

Community Credit Winner! March 2009

Won 3rd Prize in the March 2009 Contest. As you may know, a lot of people competed, but only a few won. Nicely done! Please also keep in mind that your prize is not just a stupid, geeky gift, but it's also a symbol to represent your contributions to the development community. When folks ask you how you won, you can tell them that it was by helping out other geeks. Be proud and brag.

Saturday, April 04, 2009

Unveiled new ASP.NET MVC

ASP.NET MVC enables you to build Model View Controller (MVC) applications by using the ASP.NET framework. ASP.NET MVC is an alternative, not a replacement, for ASP.NET Web Forms that offers the following benefits:
Clear separation of concerns
Testability - support for Test-Driven Development
Fine-grained control over HTML and JavaScript
Intuitive URLs

More on that...

Silverlight 3 Beta Available...

Silverlight 3 Beta was unveiled at MIX09. It is a preview release which continues Silverlight’s track record of rapid innovation - introducing more than 50 new features, including support for running Silverlight applications out of the browser, dramatic video performance and quality improvements, and features that radically improve developer productivity.
The next generation luxurious UI framwork...

Learn more ...

Microsoft Most Valuable Professional 2009 :)

I have been awarded the Most Valuable Professional for third consecutive year by Microsoft. This was great moment in my life to get this honor. Thanks to Microsoft and all of you, for your great support and encouragement.

Friday, March 20, 2009

Visual Studio 2008 extensions for Windows SharePoint Services 3.0, v1.3

This is the SharePoint developer tools for Visual Studio 2008. These tools are suitable for use with Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007.
The tools provide item templates for List Definition, List Definition from Content Type, Content Type, Field Control, Web Part, Module, Root File, Template, Event Receiver, and List Instance. It provides project templates for Team Site Definition, Blank Site Definition, List Definition, Web Part and Empty. It works with Visual Basic .NET and C# languages and a comprehensive user guide is included.

There more and more widely enhanced new features are there... download now to explore more...

Thursday, March 19, 2009

metadata file '.dll' could not found in Visual Studio 2005

When I try to run the ASP.NET 2.0 web application using Visual Studio 2005 i was struck up with some irritating error message "metadata file '.dll' could not found "
Later when I explored on this I found some solutions that solved the problem in my development environment. I would like to share it here, so that it may help others.

Cause of the problem:
Files in the format: App_Web_urfile.dll are created when you compile your web application project using Visual Studio 2005. Every time you compile your solution, the Application is compiled into a 'temp' directory which gets read by IIS or the internal web server available in Visual Studio 2005. In some scenerio, especially if you do a more of testing/debugging, the temp folder gets overload and become unable to understand by the application.

The first option is
1. Clear the temp cache files.
2. Stop or Restart IIS and close your Visual Studio 2005
3. Go to: C:\WINDOWS\Microsoft.NET\Framework\v2.0.__\Temporary ASP.NET Files
4. Delete all the files
5. Re-compile your application and then test.

Hope this help

Sunday, March 15, 2009

WCF REST Starter Kit Preview 2‏

The WCF REST Starter Kit is a set of features, Visual Studio templates, samples and guidance that enable users to create REST style services using WCF. While the October release of the WCF REST Starter Kit focused on building server-side REST services, the Preview 2 release adds features to make client-side REST development easier. Chief among the new functionality included in Preview 2 is a new class that provides a staged pipeline model for requesting resources over the web. Using this new HTTP client class allows the developer to plug into the various stages of communication to handle custom authentication, caching, and fault handling outside of the client’s application logic.

http://www.msdn.com/wcf/rest

More on codeplex

Friday, March 13, 2009

How "VSTO 3.0 for Office 2007 Programming" book born, a true stroy!



I started my career in Microsoft technologies. I was very much keen on exploring technologies and designing applications. When I joined one of the world’s largest software services and consulting company in 2006, I was asked to explore on Microsoft’s upcoming technology SharePoint. I was just started the training material and practicing the same. And suddenly the client work has been allotted for a few which includes me in that team. After the work has been allotted for each individual in the team, I and my colleague (and a best friend) got to work on VSTO programming for InfoPath 2003 which is part of our client project. But my best friend she was not interested in VSTO work and she feels this is not the right technology for her career and raised a question for me, do you feel comfortable in VSTO? Is it good for your career growth? I said for me technology is secondary, for me I was keen on the quality of the work I do, whatever the technology may be. Few words to mention about my friend as a developer, she was an awesome developer, and any company in this world should be the luckiest company to have her as a resource.

And this is where the spark fired an idea for me to write a book on VSTO, to write book on VSTO and show everyone that technology doesn’t decide your growth it’s just your attitude plays the key role in your life. Writing a book which is fully authored by me is my long-time dream. I was thinking about this from my school days, one day in my life I will write a book. Now I got an idea for my dream, what I need is to start working on that. There is zero support and encouragement in my organization I worked, feel like stuck between office politics. Under performing guys are ruling the project to failure, even the failure doesn't reflect their originality instead they gets appreciation. So I decided to carry on my career in different organization where I can produce my excellence too. So I decided to leave the most liked and loved company in my life.

First I started writing for the publication with more energy and enthusiastic. My first delivery of chapter was on InfoPath. The chapter returned with huge amount of comments and feedback, which actually said to me better stop writing :). But my editor Jonathan Hassell and Tony Campbell was the greatest; who make me thinks get going... Later before a month of release of the book the press came up with one of the best worst news I have heard in my life, eight months of dedication, hard work and how many sleepless nights is washed away from that news. They said we have decided to withdraw from your book agreement. A few days I was upset and I bounce back with a new idea.

Added new ideas and enhanced the content and approached the Europe’s leading technical publisher PackT Publication and get a green signal precede the project. Again started the works get going and finally the book was on store for sale! Thanks to all crew members of PackT Publishing for their dedication and commitment toward the launch of this book.


When I send message to people and friends I got a great appreciation and response from different people. Those messages are refreshing and boosted my confidence to write another book immediately.

Writing a book is a great adventure ... Congratulation for your book ...... very nice cover :) - Ludovic LefortCongratulations! An awesome accomplishment that requires a great deal of focus and sacrifice to execute on. Great job! - Amanda Murphy
Congratulations Vivek. This is a great achievement. Looking forward to seeing your book - soon! - SS AhmedVery nice... i post this in my blog... Congrats!!! - Vladimir MedinaCongratulations Vivek, this is indeed a great achievement! - Cristina Nardini
Congrats Vivek. Way to go! - Suprotim Agarwal
Great Stuff. It's an area waiting to explored. Glad you did it. Looking forward to see more from you :). - Niraj G Bhatt
excellent work Congratulations. - Ajay Pathak
Great Stuff Vivek!! - Amit Bansal
Congratulations – this looks like a great book. - Geetesh Bajaj
Congratulations !! Your hardwork has reaped you this success:):) - Vijayraj vm
Congrats man. Nice selection of subject. - Praveen Nair
Congrats Vivek Wish you follow it up with many more - Shanmuga Sundara Raman
.... more and more... what to say countless...
Thanks to everyone :)

Tuesday, March 10, 2009

WEB 2.0 from Microsoft

KOBE – Web 2.0 Service Development Resource Kit Kobe is a “getting started” resource kit on planning, architecting, and implementing Web 2.0 applications and services using the Microsoft Platform.

The kit includes a variety of content (presentations, white papers, and a sample project with source code) that caters to these audiences. The implementation artifacts for the sample project included in the kit is targeted at solution architects and developers who are familiar with the Microsoft Platform, and who are looking for information on ways to apply related offerings in the context of architecting and implementing Web 2.0 applications & services.

>Learn more>

Saturday, March 07, 2009

MVP Certification Hero Campaign

Get Microsoft Certified:

Help your community to take advantage of this offer to increase their credibility in the market! All they have to do is go to www.learnandcertify.com by March 31, 2009 to obtain a Microsoft Exam Voucher using your MVP Promotion Code.

This will get you more offers Your Unique Microsoft Certification Exam Voucher Code: GS00DRJ3UV

Use the above to get discount on your certification

Thursday, March 05, 2009

Get the Host name and IP address from ASP.NET

To get the Host name and IP address from your ASP.NET application, we have option is .NET. Using the using System.Net; namespace you have access to the classes which can expose the Host name and IP address.

The sample code to explain the solution. Paste the same code in the page load event of the ASP.NET page.

using System.Net;
//Get the Host name
string strHostName = string.Empty;
strHostName = Dns.GetHostName();
// Then using host name, get the IP address list..
IPHostEntry ipEntry = Dns.GetHostByName(strHostName);
//Get the IP address
IPAddress [] addr = ipEntry.AddressList;
for (int i = 0; i < addr.Length; i++)
{
Response.Write("IP Address {0}: {1} " + i + addr[i].ToString() + ", HostName: " + strHostName);
}

Thursday, February 19, 2009

Composite Application Guidance for WPF and Silverlight v2.0 (PRISM)

The Composite Client Application Guidance is designed to help you more easily build modular Windows Presentation Foundation (WPF) and Silverlight client line of business applications.

These types of applications typically feature multiple screens, rich, flexible user interaction and data visualization, and role-determined behavior. They are built to last and built for change. This means that the application's expected lifetime is measured in years and that it will change in response to new, unforeseen requirements. This application may start small and over time evolve into a composite client—composite applications use loosely coupled, independently evolvable pieces that work together in the overall application.

Read More

Wednesday, February 18, 2009

Creating Custom Field Types in SharePoint using Visual Studio

Here we are planning to create a Custom field will auto populate with the logged in user information. First we need create project with SharePoint assembly as reference. For this create empty SharePoint Application project.
> Start Visual Studio.
> On the File menu, click New, and then click Project.
> In the Project Types pane of the New Project dialog box, select Visual C#, and then select the SharePoint category.
>In the Templates pane, click Empty. Specify a Name and Location for the project, and then click OK. Visual Studio creates a solution that contains an empty project.

Visual Studio Extensions for Windows SharePoint Services 3.0 provides support
for creating SharePoint field types through the Field Control project item.


Now we need to add a Field Control to the Project we have created.

> In the Visual Studio Solution Explorer, right-click the empty project created in the previous procedure, click Add, and then click New Item.
> In the Categories pane of the Add New Item dialog box, expand the Visual C# Project Items node, and then select the SharePoint category.
> In the Templates pane, click Field Control. Specify LoginInfoID for the Name of the field control, and then click Add. Visual Studio adds the new field control to the project.

Visual Studio adds two Microsoft Visual C# code files to the project: LoginInfoID.FieldControl.cs and LoginInfoID.Field.cs. The LogoField.Field.cs file contains code that defines a class that by default is derived from the SPFieldText class and that overrides the FieldRenderingControl property.

Now write the custom logic inside the LoginInfoID.FieldControl.cs file. Refer the this full source attached in this blog for understand the remaining. Download Source Code

Now the field control xml file and deployment.
The XML file must be named in the format fldtypes*.xml (for example, fldtypes_customfield.xml) and placed in Local_Drive:\\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML
Upload all the .dll files into the Drive:\WINDOWS\assembly folder
At a command prompt, type iisreset to reset Internet Information Services (IIS).
In a view of the list to which you want to add the custom field type, click Settings, and then click Create Column.
Result as shown screenshot


Tuesday, February 17, 2009

Here the Training Course Directory in Microsoft

Here the Training Course Directory in Microsoft, some collection of training videos and events which will be very usefull.

Click here for more

Thursday, February 05, 2009

CAML.NET IntelliSense for SharePoint

Excellent outcome by some of the Microsoft Technology community influencers.
CAML.NET IntelliSense for SharePoint
To build a SharePoint feature, you must write CAML, but the raw CAML schemas produce only minimal editing support in Visual Studio. This project extends the raw CAML schemas with fully annotated XSDs that enable IntelliSense to display full SDK documentation while editing SharePoint XML files. Most SharePoint developers know how to add the SharePoint schemas to Visual Studio so you get IntelliSense when editing CAML files. This is a good first step, but only provides the bare minimum of information needed to build solutions. The result is that you spend a good deal of time searching through the SDK documentation for the necessary details for using a particular CAML element or attribute, or to see the list of valid attribute values.

Explore more

Monday, January 19, 2009

Make sure the application for the file type (.aspx) is installed.

After I created new WebSite in VS 2005 I'm getting this error

---------------------------Microsoft Visual Studio---------------------------

There is no editor available for 'C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\WebSiteUpload\Default.aspx'.
Make sure the application for the file type (.aspx) is installed.

---------------------------OK ---------------------------

Solution:

run from a Visual Studio Command Prompt, type "devenv.exe /setup" and then "devenv /resetskippkgs" (without the quotes)

Thursday, January 08, 2009

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.

Error

"It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."

This is the error message caused when I developed the ASP.NET application my development server. After few analysis I found that web.config should be moved to root directory from the sub directory. If you all want to have a web.config in the sub-directory, then the only settings you can specify are authorization, appsettings etc., Another root cause for the problem may be you may have one duplicate web.config file in a subfolder.

ASP.NET MVC - Sport Facility Booking system

  The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be su...