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


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

Sendmessage doesnt work in ASP VB IIS6

Posted By:      Posted Date: October 04, 2010    Points: 0   Category :.NET Framework
 

hI ALL

I have an ASP page, that sends data for a local Application on the server...

in my PC which the OS is win XP 32bit ... it works just fine

in the server which is windows server 2008 64bit , with IIS 6

nothing really happens when i send the message in the server, no errors, no data ...   nothing

just like iam pressing a button with no code to handle...!!!!

please , try help me with an answer




View Complete Post


More Related Resource Links

SharePoint workflow Enable WorkflowModification doesnt work

  
Hi   I'm trying to enable WorkflowModification in a sequential workflow in VS Studio 2008 according to the *** of examples of microsoft but When I run my workflow I get this error: 09/14/2010 10:24:35.78  w3wp.exe (0x11FC)                        0x13A8 Windows SharePoint Services    Workflow Infrastructure        88xr Unexpected WinWF Internal Error, terminating workflow Id# 74f4bd77-7aaa-407e-90ac-f56a6184bc21  09/14/2010 10:24:35.78  w3wp.exe (0x11FC)                        0x13A8 Windows SharePoint Services    Workflow Infrastructure        98d4 Unexpected System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.SharePoint.SPException: Error in the application.     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.EnableWorkflowModification(Guid modificationId, String contextData)     --- End of inner exception stack trace ---     at System.RuntimeMethodHandle._InvokeMe

Multiselection in Excel filter doesnt work for my calculation

  
Dear all,

I'm having a problem with one of my calculations. It's working perfecty for one selected unit (e.g. year '2010', or quarter 'Q2' for year 2010, or month 'july' for year 2010).
But, in my report in Excel, I MUST have option to select multiple values of date (e.g. quarter 'Q1' and 'Q2', or months 'january' and'february') because some other of my calculation needs multiple values of date. 

What I need is to tell me how to change my calculation when I chose multiple values of date? Is it even posible?
Example:
-if you select five months: 'january', 'february', 'march', 'april', 'may' then I want last month 'may' to be saved in some variable (or if there is some other method, even better) that can be used for making SUM of Amount on period (from begining to latest selected date) described in code below. 



--------
sum(
Ancestor(
[Date].[Year - Quarter - Month - Date].CurrentMember,
[Date].[Year - Quarter - Month - Date].[Year]
        ).FirstSibling.FirstChild.FirstChild.FirstChild:

IIF([Date].[Year - Quarter - Month - Date].CurrentMember.Level.Name="Year" 

WPF ComboBox Style/Template example from MSDN doesnt work if "IsEnabled"=false?

  

Hello!

I am using a customized look of the WPF combobox control with the help of the msdn Style and Combox Template example taken from here: http://msdn.microsoft.com/en-us/library/ms752094.aspx

I copied that code and I can use the control just fine, but as soon as you set the combobox attribute "IsEnabled" to false, you always get an error warning in Visual Studio 2010 Designer view with the following message:

'System.Windows.Media.Animation.ColorAnimationUsingKeyFrames' animation object cannot be used to animate property 'Foreground' because it is of incompatible type 'System.Windows.Media.Brush'.

Actually I have no idea on how to fix this error. Does anyone have an idea what is causing this error? Since its an msdn example everyone should encounter this error when disabling the control with this template example?

Thanks in advance for your help, kind regards,
Oliver


Write to event log doesnt work

  

Hello, this code works perfect, but when I check the event log I cant see the log, I checked all logs

 

 SPDiagnosticsService diagSvc = SPDiagnosticsService.Local;
        diagSvc.WriteTrace(0, // custom trace id
            new SPDiagnosticsCategory("My category",
                TraceSeverity.Monitorable,
                EventSeverity.Error), // create a category
            TraceSeverity.Monitorable, // set the logging level of this record
            "Writing to the ULS log:  {0}", // custom message
            new object[] { "SharePoint rocks!" } // parameters to message
        );

        diagSvc.WriteEvent(0,// custom trace id
            new SPDiagnosticsCategory("General",
       &nbs

Write to event log doesnt work

  

Hello, this code works perfect, but when I check the event log I cant see the log, I checked all logs

 

 SPDiagnosticsService diagSvc = SPDiagnosticsService.Local;
        diagSvc.WriteTrace(0, // custom trace id
            new SPDiagnosticsCategory("My category",
                TraceSeverity.Monitorable,
                EventSeverity.Error), // create a category
            TraceSeverity.Monitorable, // set the logging level of this record
            "Writing to the ULS log:  {0}", // custom message
            new object[] { "SharePoint rocks!" } // parameters to message
        );

        diagSvc.WriteEvent(0,// custom trace id
            new SPDiagnosticsCategory("General",
       &nbs

RegEx maximum length doesnt work for me.

  
Hi,

Using this pattern: "((?<=^|\s)\d+-\d+-.+(?=$|\s)(?<=(?:^|\s)[^\s]{5,16}))" I'm trying to define a string that consists of 3 'sections' of this pattern: "d-d-x" where 'd' can be any positive number and 'x' can be anything (word number whitespace). Also I need the string to be a minimum of 5 chars and a maximum of 16 chars (The entire pattern).

It appears to work except that the maximum length is ignored if I have a long 'x' value, for example "1-1-This text is way way too long". This should be false but it is true. If the 16 char length is crossed by the digits it validates false (e.g. "1234567-1234567-Test").

I cant see why it doesnt pick up the 16 char restriction if the 'x' part is too long?


java doesnt work in content page

  

i have java script in content page setting the break point fire it and nothing happend

it looks like it ignores the script any idea? 


why the drag & drop doesnt work when i changed the way to register?

  
void RegisterCustomMetadata()
    {
      AttributeTableBuilder builder = new AttributeTableBuilder();
      builder.AddCustomAttributes(typeof(<strong>CodeActivity1</strong>), new DesignerAttribute(typeof(CustomParallelDesigner)));
      MetadataStore.AddAttributeTable(builder.CreateTable());
    }
it was Parallel the position i use CodeActivity1 instead. i also make a code activity for CodeActivity1.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Activities;

namespace Microsoft.Samples
{

  public sealed class CodeActivity1 : NativeActivity
  {
    // Define an activity input argument of type string
    public InArgument<string> Text 

why doesnt System.Drawing work on Console Application?

  

hi all

i wanna do a project with openGL in console application.but System.Drawing doesnt work.what must i do?i'm waiting for ur replies.


Database Trace Listener in the Enterprise Library doesnt work

  

I am having a problem on the Database Trace Listener in the Enterprise Library. I have created the database trace listener and and the procedures and tables, but the data is not logged in the table.  Thank you very much.

I need to log data in file and db both. If i comment the database listener, the file listener works but it doesnt work with the database listener. And the database listener doesnt work in any case. Connection string has no problem.

Here's my web.config:


<loggingConfiguration name="Logging Application Block" tracingEnabled="true" defaultCategory="GeneralLog" logWarningsWhenNoCategoriesMatch="true">
    <listeners>
      <add databaseInstanceName="WEBJunctionDbServer" writeLogStoredProcName="WriteLog"
          addCategoryStoredProcName="AddCategory" formatter="Text Formatter"
          listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Database.Configuration.FormattedDatabaseTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging.Database, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"
          traceOutputOptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.Database.Form

RadioButton inside GridView, How to get it work as normal

  
Did you tried before to drag a RadioButton control inside a Gridivew templatefield, and then you attempt to select these RadioButtons , you will notice that the behavior of RadioButton control will be changed and it will work just like the behavior of checkbox control! the user will be able to select more than one radiobutton in the grid!

Looking for guidance: wanting to work with AJAX architecture

  

Hi,

I'm starting a small website that will be backed by a database, and will allow a small number of users to authenticate and select an entry in the database, and then view (and optionally update) a corresponding entry (think master-detail).

I have some flexibility in how I'll do this, but I'd really like to incorperate some newer AJAX style coding, eliminating some page postbacks. I think this is a great opportunity to learn the concepts well.

I'll probably go with an ASP.NET 4.0 site. From what I've seen there are MANY ways to go about this:

-WCF Data Services to expose the data, and consume in ASP.NET

-Page methods to expose the data, separate method to update the data

-I'd rather avoid the UpdatePanel because I'm really looking for a full hands-on approach, with learning client side scripting being an objective as well.

Beyond that, it seems that one can use jQuery to build clientside templates, but also one can use the ASP.NET AJAX template engine (in ASP.NET 4.0 I believe).

A concern I have: users should only be able to work with the data exposed via these endpoints if they are logged into the website. Hopefully I can somehow reuse the ASP.NET forms authentication cookie for this purpose. 

Well, I hope I've posted enough to a

animate effect work but the render items are messed up.

  

Hi all,

     I have a very unique problem, humm i think. I am using a jquery effect that animate bounce effect, i have a line in my javascript pageLoad function $("#UserBrowserInfoDIV").show('bounce'); - the effects run smoothly but what it does is mess up the bolded text in the div. I have try the items inside the div without bolding and it works fine and no render problem but when bolded the text that are bolded is quite messed up, and barely readable.

Please let me know is there anything else i can do i really would like use this effect.

P.S all the effect have the same render problem, and i am using ie8 under compatibility mode.

Thanks

Kabir

 

 


Why getTreeNode does not work?

  

Hi,

I try to run a  treeview example from msdn:

http://msdn.microsoft.com/en-us/library/ms529261%28v=VS.85%29.aspx#TreeView_References

I also want to use code from

http://msdn.microsoft.com/en-us/library/ms529288%28v=VS.85%29.aspx

Here is my code:


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register TagPrefix="mytree"
Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>
 
<html>
<head>
</head>
<body>
 <script type="text/javascript" language="javascript">


     function xxx() {


         var myNode = treeview_one.getTreeNode(treeview_one.selectedNodeIndex);
         alert(myNode.getAttribute("Text"));

         //alert("ok");
     }


</script>
<form id="myform" runat="server">
<mytree:treeview id="treeview_one"  runat="server" Child

Cannot find ASP.NET tab on IIS6+2003,how to choose .NET framework 4.0?

  

Hi all,

I just wanna setup a .net framework 4.0 on my VPS for a new site. While I could not find the ASP.NET tab on properties. I did some research find some similar problems but haven't fixed it yet.

Any suggestion would helpful.

Thanks.

 


Category attribute of user control property does not work correctly in categories tab.

  

Hi,

I have a User Control (ascx) and a property which a want to display in my categories tab in Visual Studio in the category named "Styles".

[Category("Styles"), DefaultValue(""), Description("The value for formating something.")]
public String MyFormatProperty
{
set { /* the code for set */; }
get { /* the code for get */; }
}

And here is the problem: Actually I do not need a get, because I only have to set the property (write only property). But when I omit the get, the property is displayed in the "Misc" category in the categories tab in Visual Studio. Only when I code the get as well, then the property is displayed correctly in the "Styles" category in the categories tab in Visual Studio.

Does anybody know why? How can I display the category correctly only with set?

Thanks, S.



Team System: Customizing Work Items

  

Team Foundation Server's work iIem tracking system provides a number of advanced customization options.This article explores custom control support that lets you link to date, enhance the user experience, present data, and more.

Brian A. Randell

MSDN Magazine October 2009


Categories: 
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