Quantcast
Channel: Off-Topic Posts (Do Not Post Here) forum
Viewing all 14169 articles
Browse latest View live

MS Livemeeting

$
0
0

Hi

I want to start a livemeeting as a private person (for my universety) But a vánt found out how im doing this. Could you please hel me ?(MSlm wa the only program we used when i worked for a big company in IT, and now i want to use it whwn i have meetings with my students)


Potentially vulnerable software version: cpe:/a:microsoft:asp.net:2.0(CVE-2010-2084)

$
0
0

"Microsoft ASP.NET 2.0 does not prevent setting the InnerHtml property on a control that inherits from HtmlContainerControl, which allows remote
attackers to conduct cross-site scripting (XSS) attacks via vectors related to an attribute."

Is there any solution for solving attackers to conduct cross-site scripting (XSS) attacks vulnerability?and how to check that it is solved? Our application uses MOSS2007 which is built on ASP.NET 2.0 framework.

Failed to load the DLL, check that any DLLs it depends on are in the PATH (dll2.dll): The specified procedure could not be found.

$
0
0

Hi,

Having an issue with loading a dll through the Path environment variable. 

My web service references a .NET dll, dll1.dll, part of application A1. This in turn at runtime will load other non-.NET dlls. One of them should be dll2.dll. Running the service on my machine is successful, but when testing on a server machine, I am getting the above mentioned error.

Checking the path, I can see another application (A2) which appears in the Path before A1. This contains in the bin folder a dll3.dll, which also appears in A1. Testing locally, where I don't have the A2 application, the dll3.dll and dll2.dll are loaded from within A1. 

I think on the server, the application loads dll3.dll as soon as it finds it in A2, and looks for dll2.dll in the same folder, and isn't able to find it, and doesn't continue with looking in A1.

We have a temporary solution to reorder the A2 and A1 occurences in the Path variable, and that fixes the issue, but this is not a permanent solution.

Would anyone have any ideas?

Thanks very much

Alice

Open Source LMS/LCMS solution in .net

$
0
0
We were looking for LMS/LCMS solution for a client urgently . Key requirements are :

1. .Net / PHP technology
2. Can be hosted on our servers
3. Provides  ongoing support
4. Supports customized  reporting
5. supports unique branding
6. Mobile responsive
7. Web Accessible
8. Unlimited  courses , users and instructors
9. Iwe get its code to customize it to our requirements
10. Supports quizzes, assessments, weekly tasks etc

How do call my gridview form on demand

$
0
0

I have a project where form1 (essentially a login) is called. I have another form within this project where a gridview has been configured. I'd like to know how to initiate the gridview form. Does this second form require its own asp task in order to function? I can figure out how to pass the log-in information from the first form to the second. Does my question make sense?


eps123

ASP .net, VB code not able to connect to C# COM module.

$
0
0

Hi all,

Requesting all in helping me on the below question urgently. It will save me big time.

I have a c# COM module which will take a string and writes to a file. It had to be COM, since it has to get the input from asp.net (.NET 2.0) VB code.  I have developed the module and works fine in standalone mode.  I have registered the COM Dll using regasm and put it in GAC.

So these are the cases it works,

1) I am able to connect to the C# COM from asp.net using C#.

But when the asp.net page uses VB, it is failing to connect by giving the following error,

Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

Line 10:             Dim es As Object
Line 11:             es = Server.CreateObject("Skmc.MessageWriter")Line 12:             es.Send("Hahahahah")Line 13:       End Sub
Line 14:    </script>

Source File: C:\Users\sk\Documents\Visual Studio 2012\WebSites\TestKTKSite\Default.aspx   Line:12

Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
   Microsoft.VisualBasic.CompilerServices.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags) +199
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure) +233
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn) +247
   ASP.default_aspx.Enqueue() in C:\Users\sk\Documents\Visual Studio 2012\WebSites\TestKTKSite\Default.aspx:12
   ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\Users\sk\Documents\Visual Studio 2012\WebSites\TestKTKSite\Default.aspx:26
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266

Please find the C# COM module public method definition,

[Guid("9A44E3E1-C71F-456F-8CD6-DE23421ACC11")]
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface _MessageWriter
{
[DispId(1)]
int Send(String message);
}

[Guid("162361AE-B4FC-47D1-BC65-56453F6A0B64")]
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[ProgId("Skmc.MessageWriter")]
[ComVisible(true)]
public class MessageWriter : _MessageWriter
{

Also please find the way i call from asp.net,

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script runat="server">
      Sub Enqueue()
            Dim es As Object
            es = Server.CreateObject("Skmc.MessageWriter")
            es.Send("Hahahahah")
      End Sub
   </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        Hi This is a test web page!!!
    </div>
    </form>
</body>
</html>

<%
Enqueue
%>

Kindly requesting to help me here.



System.Web.UI.WebControls, Version=1.0.2.226

$
0
0

Hi,

When I'm loading the webpage I'm getting the following error,

Parser Error Message: Could not load file or assembly 'System.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.


Can anyone please give me the link to install

Version=1.0.2.226 of System.Web.UI.WebControls.

Thanks in Advance,

Muhammed



Need to extract text from certain rectangles on a PDF.

$
0
0

Here is the working code in Aspose.Pdf, but I can't afford the license, and I am having so much difficulty transferring it this easily into iTextSharp or preferably PDFSharp. I am also trying to avoid bringing java into the equation.

The aspose code looks like so

             TextAbsorber Prescibername2 = new TextAbsorber();
            Prescibername2.TextSearchOptions.LimitToPageBounds = true;
            Prescibername2.TextSearchOptions.Rectangle = new Aspose.Pdf.Rectangle(300, 219, 480, 244);

            TextAbsorber DOHliscensenum2 = new TextAbsorber();
            DOHliscensenum2.TextSearchOptions.LimitToPageBounds = true;
            DOHliscensenum2.TextSearchOptions.Rectangle = new Aspose.Pdf.Rectangle(484, 219, 577, 244);


[UWP][C#][OneDriveSDK] System.Exception when attempting to logout of OneDrive

$
0
0

Hey guys,


So I am using the (poorly documented ;) ) OneDriveSDK for windows on github:


https://github.com/OneDrive/onedrive-explorer-win



I am not using the whole project provided there; just the SDK itself (I added it to my solution and built. )


So far, I've managed to login, upload a file and download a file. This is all working and I managed this using a great tutorial (and dissecting this guys code) here:


http://blogs.u2u.net/diederik/post/2015/04/06/Using-the-OneDrive-SDK-in-universal-apps.aspx



The only problem I am having is logging out. For this I am calling the function directly from the SDK (so I know its not a coding issue, the SDK is unmodified):


public static async Task Logout()
{
await LiveOAuth.SignOut();
}


This caused my app to crash in debugger with a "System.Exception". Now is this a known issue with the SDK? If so, how am I meant to logout the user? as far as I am aware for my app to pass certification I need to allow the user to log out if they so wish.


Any help would be greatly appreciated! I think once this SDK actually has some official documentation and tutorials it will be a great resource, but even better if I can logout a user I will be super happy :)




Usar DataGrid

$
0
0

Hola

Buenos días dentro de mi aplicación uso un datagrid pero me maraca error 

DataGridColumn y DataGrid1.Columns       al igual que  

DataGridRow y DataGrid1.Rows                se supone que en DataGridView no tendría ningún problema pero estoy utilizando

datagrid

gracias 

Print button

$
0
0
There is no print button on the printer page.
 The top of it used to be just barely visible at the bottom of the page, but now there is nothing.
How do I print something? 

Communicate GameMaker with Visual Studio

$
0
0
I was wondering if I can communicate both of these programs. For example: I made a game in GameMaker and there's a variable that saves my score in that game, but I want to send that value from GM to Visual Studio, like showing it in a label. Is that possible? and if it is, how can I do it?

I would like c# related answers about it, since that's what I'm learning. 


Security Issue

$
0
0
I am running Visual Studio 2015 on Server 2012 with Sql server 2013.  I have developed a Web application and published it.  Whenever I try to access certain pages that have to access the sql server I get a error stating that user cannot log into the sql server.  Any assistance will be greatly appreciated.

How to update my HTC HD7 phone

$
0
0
I have tried to update my phone but is not working, what should I do?

How to send sailent pushnotification using pushsharp to ios

$
0
0

my payload is like  appleNotif.ForDeviceToken(notification.PushNotificationsRegistrationID)
                                              //.WithAlert(notification.Message)         
                                              .WithContentAvailable(1)
                                              .WithBadge(Convert.ToInt32(notification.Message))
                                              .WithCategory(notification.NotificationCategoryName);
 Eventhough i am not sending the sound Json is Like 

{"aps":{"badge":29,"content-available":1,"sound":"","category":"Secure_Message"}}

Could you please any one help me in removing the sound parameter fron Json.

                                                                                           

lucky


ASP.NET application fails to get data from HTTPS with Basic Auth

how to check multiple radio button list are selected or not at button click in c#

$
0
0


if any radio button list is not selected its show msg.

my code is 

<table border="1">
                                                    <thead>
                                                        <td colspan="2">
                                                             questions
                                                        </td>
                                                    </thead>
                                                    <tr>
                                                        <td>
                                                            1.
                                                        </td>
                                                        <td>
                                                            <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"
                                                                BorderColor="White" BorderStyle="None">
                                                                <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
                                                                <asp:ListItem Text="No" Value="2" ></asp:ListItem>
                                                            </asp:RadioButtonList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            2.
                                                        </td>
                                                        <td>
                                                            <asp:RadioButtonList ID="RadioButtonList2" runat="server" RepeatDirection="Horizontal">
                                                                <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
                                                                <asp:ListItem Text="No" Value="2" ></asp:ListItem>
                                                            </asp:RadioButtonList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            3.
                                                        </td>
                                                        <td>
                                                            <asp:RadioButtonList ID="RadioButtonList3" runat="server" RepeatDirection="Horizontal">
                                                                <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
                                                                <asp:ListItem Text="No" Value="2" ></asp:ListItem>
                                                            </asp:RadioButtonList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            4.
                                                        </td>
                                                        <td>
                                                            <asp:RadioButtonList ID="RadioButtonList4" runat="server" RepeatDirection="Horizontal">
                                                                <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
                                                                <asp:ListItem Text="No" Value="2" ></asp:ListItem>
                                                            </asp:RadioButtonList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            5.
                                                        </td>
                                                        <td>
                                                            <asp:RadioButtonList ID="RadioButtonList5" runat="server" RepeatDirection="Horizontal">
                                                                <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
                                                                <asp:ListItem Text="No" Value="2" ></asp:ListItem>
                                                            </asp:RadioButtonList>
                                                        </td>
                                                    </tr>
                                                </table>

plz help me asps.



how can i make next and previous row buttons work ?

$
0
0
In i have connected SQL 2008DB with asp.net 2010 web application using c# and  I can not make next and previous buttons work, 
and i want to show selected row number in label1 , 
only last and first buttons are working - Help me please
and i write these codes in defualt.aspx.cs 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Configuration;
using System.Data;
using System.IO;

namespace WebApplication1
{

    public partial class _Default : System.Web.UI.Page
    {
        int i = 0;
        DataTable dt = new DataTable();
        DataSet ds = new DataSet();
        
        protected void Page_Load(object sender, EventArgs e)
        {
            SqlConnection conn = new SqlConnection(@"Data Source=HARB\SQLEXPRESS;Initial Catalog=daily_log_golf;Integrated Security=True");
            conn.Open();
            SqlDataAdapter da =new SqlDataAdapter  ("select * from school", conn);
            da.Fill(ds, "school");
            dt = ds.Tables["school"];         
         }
        public void Display()
    {
        DataRow dr = dt.Rows[i];
        TextBox1.Text = dr["id"].ToString();
        TextBox2.Text = dr["name"].ToString();
        TextBox3.Text = dr["email"].ToString();
        TextBox4.Text = dr["town"].ToString();
     }
      protected void firstbtn_Click(object sender, EventArgs e)
                      {
                        i = 0;
                        Display();
                       }

       protected void nextbtn_Click(object sender, EventArgs e)
                {
              if (i < ds.Tables[0].Rows.Count - 1)
                    {
                        i++;
                        Display();
                    }
                    else
                    {
                    }
                    }

                protected void previousbtn_Click(object sender, EventArgs e)
                {
                    i++;
                    if (i >= 0)
                    {
                       Display();
                    }
                }

                protected void lastbtn_Click(object sender , EventArgs e)
                {
                 i = dt.Rows.Count - 1;
                 Display();
                }

                protected void showrowbtn_Click(object sender, EventArgs e)
                {
  //to show selected row number in label 1
           DataRow row = dt.NewRow();
            dt.Rows.Add(row);
           // get the index now
           Label1.Text = (dt.Rows.IndexOf(row)).ToString();
                }

                   }
}

How to attach a large PF into an outgoing e-mail?

$
0
0

Sir or Madam,

I need to attach a Personal Folder File (19,000 KB) that has been compressed into an e-mail message.

When I highlight the folder and click to attach it, only the last file (in light blue) is attached, not the 497 other files.

Please refer to the attached snipped copy.

I am using; Windows 10, Outlook 2007 and the latest Internet Explorer software.

Thank you.

Take care


Earle Rheaume

email address already used to register another member

$
0
0

I would like to post questions to Sysinternals Community Forums.  When I tried to register for the Autoruns Forum I was rejected.  The error message said my email address was already in use by another member.  When I logged in my User name was CAG43, What  should I do register?

Viewing all 14169 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>