.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

WPF Application Size Issue

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :WPF
I'm planning to work on a desktop application using WPF. My biggest concern is, how to distribute this application to my users. It seems size of the framework 3.5 is near 200 MB. My users are not expected to download and deploy this much size from internet. Please suggest any alternative for this problem.

View Complete Post

More Related Resource Links

Sign out issue with IE7 of MOSS application.

Hi All,

I have a sign out issue with my moss application in IE7:

1) When I log in and attempt to log out immediately, the log out function hiding behind this drop down menu did not work.it left me logged in.The logout does not in fact log out the user.

2) When i click sign in as different user, it logs out the user and cant sign in again using same browser page , i need to restart the browser.

Am not able to fix this issue actually,might be we need to make some changes in internet options or something???

I do not know what really is happening.


Accordion size issue

Hi I am using AJAX Accordion as side menu that i fill at the run time from database i create the panes and the menu items all at run time the problem here is that i cant make the accordion match the height of the page. i change the AutoSize to "Fill" and to "Limit" but still does not work as wanted it just fill based on the first opened pane so if first opened pane has 2 items then the accordion will take the height of the initial status as the accordion status any idea how to do that?   This is the script    <cc1:Accordion ID="SideMenuAccordion" runat="server" SelectedIndex="0" HeaderCssClass="accordionHeader" HeaderSelectedCssClass="accordionHeaderSelected" ContentCssClass="accordionContent" FadeTransitions="false" FramesPerSecond="40" TransitionDuration="250" Height="100%" RequireOpenedPane="true" SuppressHeaderPostbacks="true" AutoSize="Fill"> <Panes> </Panes> </cc1:Accordion>

Rooms and Equipment Reservations Application template using WSS 3.0 issue.

I have set up a conference room reservations site using the RER template, I have questions...The template functions pretty much as I want out of the box, except for two items.1.)  Any User can delete any other user's reservation.2.)  Any User can delete a resource.Does anyone know of a way to resolve these issues?  All users need contribute permissions to use the site.

Deadlock issue in SQL Server 2008 R2 (.Net 2.0 Application)

The Sql Server 2008 R2 instance in question is a heavy load OLTP production server. The deadlock issue came up a few days back and is still unresolved. We received the Xml deadlock report that listed the stored procedures involved in the deadlock and some other details. I'll try to list down the facts from this xml first: Two stored procedures are involved in the deadlock, say SP1 and SP2. According to the report SP1 was running in Isolation level "Serializable" and SP2 was running in "ReadCommitted" . We have investigated the following: Are we setting IsolationLevel of SP1 to "Serializable" inside SP or in Code? - No. Is any other SP whose IsolationLevel is "Serializable" calling SP1? - No. Are the table used by SP1 called by any other SP that has Isolation Level as "Serializable"? - Yes. There are SPs that have Isolation Level set to "Serializable" and access the same tables as SP1, but we don't know whether they were running at the time of deadlock or not as the deadlock report only showed SP1 and SP2. Lines of thought: We have considered the following possible causes: Deadlock is occurring because SP1 is running as "Serializable". - Why is this SP running in Serializable when I haven't set it? Is the Isolation level escalating (like locks do)? If we figure this out and make it run as ReadCom

Windows.Forms.Label size change issue



In a Windows Forms application developed with VB2008 Express, Label controls change size the first time the .Text property is updated.


On a Windows XP Pro SP3 system where the app was developed the labels retain the size set at design time.  On other systems, one also Windows XP, one Windows 7, labels shrink (all to the same size independent of content) the first time their .Text property is updated.  Labels that do not have their .Text property updated retain their design size.

Additional information:

The labels all occur within a FixedPanel of a SplitContainer.
Salient properties for the Label controls:
Anchor: Top, Left
AutoSize: False
BorderStyle: FixedSingle
Dock: None
Enabled: True
FlatStyle: Standard
Image: None
Locked: False
Margin: 0,0,0,0

Issue with the buffer size of DFT!!


Hi Team,

I have a question on defining buffer size in ssis dataflow task

Existing table with 207 rows size is 520KB. I have to load 10000 rows at the max, can I increase buffer size of the DFT to 26MB my server Ram is 2GB and I am running this on SQL Server 2000 database?



Issue with customizing Application templates


We created a website using the application template Change Request Management provided by Microsoft at http://www.microsoft.com/downloads/en/details.aspx?FamilyId=7BCEA3BD-FE37-4532-A58B-051DA6A6900A&displaylang=en.

A sample website created with the above template can be seen at: http://www.sharepointcommunity.com/crm/default.aspx

Then we customized our website by deleting two columns, namely “Budget vs. Actual” and “Cost  Budget Days vs. Actual Days” from the dashboard using SharePoint Designer.
Then we saved the site as a site template (including content). But when we create a site using this custom site template, the “Overall Project Status” section of the dashboard is not displaying any data even though the customized site (the site template was created from) is showing data in that section of the dashboard. (Note: To understand the dashboard of the application template, you can click on the Dashboard link in the Quick Link Launch bar on the left of the site with the above URL. But that is not our site that we are talking about).

Does anyone know what could be the issue?


Issue using Managed Metadata with custom fields in the User Profiles application


Hi there,

I've created several custom properties in my User Profile Application.

I've also created several Term Sets in the Managed Metadata service application Term Store for use with these custom properties. Some of the Term Sets contain terms and have a closed submission policy whilst others have an open submission policy.

If the user hasn't already populated any of these custom fields in their profile, when they click on the Edit My Profile link from their My Site Profile page everything seems okay (for the first time).

The user is then able to successfully select values for these custom fields - the metadata is available. They can click on the "tag" icon to select values, or start typing and the suggestions appear. They are also able to enter new values into custom property fields where the term set is open to submission.

If they then Save and Close then go back into Edit My Profile, often not all of the existing data is populated in the metadata custom fields. On different occasions different fields may be blank. Sometimes this is accompanied by the error "Message from webpage / The server method 'ValidateTerms' failed", but not always.

Has anyone else tried this or have any suggestions are to what the issue might be?

Thanks in advance.

client side Print issue in Asp.net application when we hosted in webserver(Global, shaired space).


I have an asp.net application . I hosted this application in shaired server. When the client is logined this site , they have an option for print the certificate based up on the number of copies.  My questin is right now i generated this one pdf, so pdf it self i can print unlimited copies. So i want to restrict this one by blocking the print dialogbox. I want to print it based up on the number of copies from databsase of a table value.  then how to identify the clint side printer to print this one.

Please give any suitable solution for it to print the number of copies without popup the print dialogshop.


So please give a goodd solution for it to print the certificaate in client side based up on the number of copies from database and should be restrict print dialogbox .


Requirments is

 Any methord print client side print based up on the number of copies from database and restrict print dialogbox . User should not be prin number of copiest apart from the number of copies from database.


Please give me the tips for impliment it. and send me source code for easy understanding


Thank You.........

Application deployment - database connection issue


Hi, I finished an intranet application using webconfig to store my connection string to an Access database which has linked tables to SQL Server 2005.

Everything works perfectly, but when I publish the application on a IIS server service, it seems like all connections fail... :(


I looked up on internet but found nothing on this. I think my webconfig file is correct :


    <add key="dbconnect" value="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=//192.168.xxx.x/Websites/xxx/xxx.accdb;Persist Security Info=True"/>


Any idea why it happens?


thanks alot !

Web Application Load time issue


Dear All,

I have a web application that is using a single page. This page has 2 multiviews and each one of them has around 10 views. Each of the views contain a grid and a form. My main problem is that when Switching views my application takes too much time (Around 5 seconds). I am using the three tier model though, that is; I have a Busingess Logic Layer and a Data Access Layer and I am using Object Data sources.

I am so confused about the main reason for the huge load time my website requires. In addition, I am not using any images within my views which might need high load time.

Please help me out in this



Issue while running the asp.net application


I am connected my application with local iis. I didnt get any solution from forum. I getting an error when i run the asp.net application. Building my web application are successful. But when i clcik on run or f5 .. It will show with

unable to start dubuging on the web server. <?xml version="1.0"?>

<DOCTYPE html public" -

<html xmlns="http:\"





Make sure the server is operating correctly. Verify there are  no synatx error in web.config by doing a dubug. Start without debugging. You may also to refer  to Asp.net and ATL server debugging topic in the  online documentation. 


ISSUE: Cannot create a row of size which is greater than max 8060...Need Help




I have an issue related to maximum row size. I have a DW environment which has a table with multiple hierarchies and levels.


OLE DB error: OLE DB or ODBC error: Cannot create a row of size XXXX
which is greater than the allowable maximum of 8060. Errors in the OLAP
storage engine: An error occurred while the dimension, with the ID
of 'DATABASE', Name of 'DIMENSION' was being processed.
Server: The operation has been cancelled.

My current version is SQL Server 9.00.3257 (SP2 + CU 8). I would like to check if there is any upgrade available to fix this limitation (SQL Server 2005 SP3 / SQL Server 2008 SP1)....

Any advice is much appreciated.

Thanks in Advance

Setting Up New Web Application Issue


I am trying to setup a new web app on my SP 2007 server in a Win2003 domain.

I the "Create New Web Application" webpage the random port assigned is 19761. I want to use the site as a main portal so I entered the header as http://portal.gracenet.net:19761. The application pool name is the same.

I also made an A record in DNS titled "portal" and provide the ip address of the SP app server.

When I press "OK" I get the error "Invalid application pool name"

What do I need to do?


shift+tab key issue in numeric field in UI form in silverlight application



Issue in UI form:

1. when user press shift+tab key in numeric field then it's not working means cursor not moving.

2. when user press shift+tab key in field wich is allowing any characters then it's working.




Issue with Size Property has an invalid size of 0


In my code I have:

SqlParameter param = new SqlParameter("ID", id);
                param.Direction = ParameterDirection.InputOutput;
                wrapper.ParameterCollection.Add("StudentObjectiveID", SqlDbType.Int).Value = objectiveid;
                wrapper.ParameterCollection.Add("SessionID", SqlDbType.Int).Value = sessionid;
                wrapper.ParameterCollection.Add("StaffID", SqlDbType.Int).Value = staffid;
                wrapper.ParameterCollection.Add("EnteredDate", SqlDbType.DateTime).Value = entereddate;
                wrapper.ParameterCollection.Add("Achievement", SqlDbType.NText).Value = Achievement;
                wrapper.ParameterCollection.Add("SessionStudentID", SqlDbType.Int).Value = session_student_id;
                wrapper.ParameterCollection.Add("ImageName", SqlDbType.NVarChar, 255).Value = imagename;
                wrapper.ParameterCollection.Add("ActualDate", SqlDbType.DateTime).Value = actualdate;
                wrapper.ParameterCollection.Add("FileType", SqlDbType.VarChar, 10).Value = filetype;

                int result = wrapper.ExecuteNonQuery();
                id = (int)param.Value;

And in the relevant stored procedure I

ASP.NET Application Frequent Log Off issue - Event ID 1077 registered



We have one ASP.NET application which was built with Oracle as backend. This is one of the real time online booking system which was working fine for the past 1 and half years. Recently we are encountering frequent logoff issues where the end users are logged out automatically from the application in 5 to 10 mins interval. The session time out in the application and in IIS is 60 mins.

In server event viewer we have seen lot of W3SVC events with ID 1077 (recycling the application pool). W3SVC had other event 1013 that shutdown the application pool.  The machin.config has been changed as per the recommendation given by the following URL.


But still we have the issue.

Can any one faced this issue before? Please advise.







ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend