3,288 questions with ASP.NET tags

Sort by: Updated
2 answers

Why does the report viewer control return rsAccessDenied when accessed by domain name?

I'm building an ASP .NET web application that contains a viewer for SQL Server reports. The viewer is supplied by the Microsoft.ReportingServices.ReportViewerControl.WebForms package. When connecting using localhost the report appears fine, but when…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,813 questions
asked 2023-04-04T04:46:55.73+00:00
Laura Bailey 1 Reputation point
answered 2023-04-04T08:14:29.1866667+00:00
AniyaTang-MSFT 12,321 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Conversion from type 'DataRowView' to type 'String' is not valid

I have looked at some helpful tips generated based on Title but none has helped with the issue that I am having. When we run the code below, we keep getting error: Conversion from type 'DataRowView' to type 'String' is not valid I am lost as to what to…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,580 questions
asked 2023-04-03T20:13:43.3366667+00:00
Simflex 301 Reputation points
accepted 2023-04-03T21:01:13.83+00:00
Simflex 301 Reputation points
1 answer One of the answers was accepted by the question author.

ASPX Web page Calendar will not show the top < Month > bar

Dragging in a simple calendar from the tool box (Vb not C#), I cannot seem to get the top < Month> bar to show on the calendar. Am I missing an Import code or web.config file code that tells this calendar what month this is? Never had this problem…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2023-03-31T16:05:50.67+00:00
Chuck Vensel 25 Reputation points
accepted 2023-04-03T13:57:28.88+00:00
Chuck Vensel 25 Reputation points
0 answers

How to deploy outlook template after insert data and use data info in subject and body

hi All... I have some question here. 1 have text box, drop down, check box and a button. Data Input TxtBox Data Input : Animal Drop down Input : Veterinar Dept Button check box on : send email Button to insert data When I click Button and check on, data…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
883 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,307 questions
asked 2023-03-03T04:53:45.5+00:00
y.ari 0 Reputation points
edited the question 2023-04-03T09:21:24.13+00:00
Faery Fu-MSFT 17,111 Reputation points Microsoft Vendor
0 answers

asp core action can not receive complex DTO as parameter

hi. i have bunch of action handlers that receive DTo as parameter. when i want to read the parameter i figure out hte nested object is exist but all of its fields are null or default value. the problem also exist on the returning value to the client. the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2023-04-03T05:48:13.6233333+00:00
moeen kamali 1 Reputation point
edited a comment 2023-04-03T06:20:00.4133333+00:00
Ruikai Feng - MSFT 2,526 Reputation points Microsoft Vendor
3 answers

How do you impersonate as a different user/service id and then try and connect to sql server using windows authentication?

This is my connection string Data Source =server;Initial Catalog=Database;Trusted_Connection=True;MultipleActiveResultSet=true;Integrated Security=SSPI; After establishing the connection string I am trying to test connection and here instead of it…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,809 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,307 questions
asked 2023-03-22T06:16:56.6766667+00:00
Adithyan 0 Reputation points
commented 2023-04-03T05:55:27.6066667+00:00
QiYou-MSFT 4,306 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

System.NullReferenceException: 'Object reference not set to an instance of an object.' when trying to run new View.

Can someone please have a look at my code and help me understand why I'm getting this error? I have set up a controller and model, but when trying to run this view I get this error.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2022-09-23T04:42:24.867+00:00
Mel 21 Reputation points
commented 2023-04-03T04:33:34.6466667+00:00
Jinesh Prajapati 0 Reputation points
3 answers

converting a text to an image

I am trying to convert a text to an image. When I see the converted image, the font family is changed. This is my code that works fine on my localhost, but when I deploy the code to the server. The font family family that I specified in the image…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,307 questions
asked 2023-03-29T02:31:41.36+00:00
Anjali Agarwal 1,386 Reputation points
answered 2023-04-02T16:04:10.8533333+00:00
Arun Siripuram 801 Reputation points
1 answer One of the answers was accepted by the question author.

Javascript issue

Hi, It is showing "undefined" to the 1st column and can you help and check the project below? https://1drv.ms/u/s!Ai8CrEskdewXykrPvEzLNAv4XY7Z?e=CAEWAW

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
883 questions
asked 2023-03-31T09:30:27.8833333+00:00
Peter_1985 2,526 Reputation points
accepted 2023-04-01T08:36:49.6766667+00:00
Peter_1985 2,526 Reputation points
1 answer One of the answers was accepted by the question author.

ID Card Template: Set background image of Card by clicking an image in Imagebutton in DataList

I have DataList that shows images from database; the images are contained in an Imagebutton. I also have a card on the web page, the card has labels and image controls. I want to be able to click on any of the Imagebuttons, and pass the clicked image as…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,307 questions
asked 2023-03-30T23:09:11.26+00:00
Donald Symmons 2,856 Reputation points
accepted 2023-03-31T23:50:38.5733333+00:00
Donald Symmons 2,856 Reputation points
1 answer

angular loop form problem

HI so i am trying to develop an attendance system in asp.net core web api and angular as front end now ill provide the code first First the form: <form [formGroup]="attendanceForm" (ngSubmit)="onSubmit()"> <section…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
302 questions
asked 2023-03-30T10:07:12.6+00:00
Asjad Butt 71 Reputation points
edited an answer 2023-03-31T17:21:01.39+00:00
Bruce (SqlWork.com) 56,931 Reputation points
1 answer

Report Wizard missing in VS2022

In VS2022 I downloaded and installed the Microsoft RDLC Report Designer 2022 but I still can't find the report.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
asked 2023-03-27T13:04:37.4366667+00:00
Ahmed Elnoury 0 Reputation points
commented 2023-03-31T08:10:35.5466667+00:00
Anna Xiu-MSFT 25,891 Reputation points Microsoft Vendor
3 answers

Reading form fields after submit (POST) in Blazor Server?

I have a login form in Blazor Server App and use POST to send login data (email and password). <form id="LoginForm" Model="LoginModel" action="cookie" method="post"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,923 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,307 questions
asked 2023-01-28T19:43:14.55+00:00
perfect code 271 Reputation points
answered 2023-03-31T07:18:55.9+00:00
oktu.it 0 Reputation points
1 answer One of the answers was accepted by the question author.

DBContext is not found in adding view scaffolding

DB context class is not displaying in scaffolding

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2023-03-30T06:37:48.22+00:00
Analyst_SQL 3,551 Reputation points
accepted 2023-03-31T04:05:02.89+00:00
Analyst_SQL 3,551 Reputation points
1 answer

Microsoft.WindowsAzure.Storage.StorageException: 'Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.'

Hi, I'm trying to upload a file to a blob storage using Access keys Here is my code: // Retrieve storage account from connection string. CloudStorageAccount storageAccount =…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,449 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2023-03-10T16:20:13.3266667+00:00
Augusto Emanuelli 0 Reputation points
commented 2023-03-31T02:43:03.51+00:00
Sumarigo-MSFT 43,806 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Exapand glyphicon-plus glyphicon-plus when collapsed on button click

I have a page with bootstrap glyphicon-plus glyphicon-minus in a span with a class. when the page loads the span is collapsed by default and I need to Expand it on a button click programmatically. I am doing $("#btn-search").click(function…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
883 questions
asked 2023-03-24T19:53:12.94+00:00
Benjoe 431 Reputation points
accepted 2023-03-31T00:58:57.3166667+00:00
Benjoe 431 Reputation points
1 answer One of the answers was accepted by the question author.

How do I toggle between Portrait and Landscape card using custom toggle button

Hello forum, I recently created a toggle button to help toggle between landscape and portrait mode of bootstrap card, before user can print. Please how can I make the toggle button I created to change the orientation of the card? I have no idea how to do…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2023-03-30T01:25:04.3033333+00:00
Donald Symmons 2,856 Reputation points
accepted 2023-03-30T22:00:35.0733333+00:00
Donald Symmons 2,856 Reputation points
4 answers One of the answers was accepted by the question author.

How do I dynamically replace value in razor syntax based on selectedIndex in dropdown

I have an CSHTML View that has a dropdownlist. In the OnChange event I'm calling reportchange(this) which calls my function reportchange. How can I dynamically use the selectedIndex, this code doesn't work because the Razor code errors out with the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2023-03-29T13:33:39.8466667+00:00
Bill 20 Reputation points
answered 2023-03-30T20:39:08.93+00:00
Bill 20 Reputation points
1 answer One of the answers was accepted by the question author.

using custom font inside C# .net core application

I have the following code in my C# application that coverts text to image. In this code, I am using a custom font. I am specifying the path of the custom font, the custom font resides in my wwwroot folder. below is the code where I am using custom…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2023-03-29T19:35:14.7966667+00:00
Anjali Agarwal 1,386 Reputation points
accepted 2023-03-30T12:07:04.7933333+00:00
Anjali Agarwal 1,386 Reputation points
0 answers

Forecasitng in .net web applications

Hello , I'm asking is it possible to work on the aspect of forecasting in .net web application ?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2023-03-29T12:01:13.6666667+00:00
BEN YAHIA Amira 0 Reputation points
commented 2023-03-30T02:37:40.9433333+00:00
davislee2112 0 Reputation points