Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x

Assembly

An assembly language (or assembler language) is a low-level programming language for a computer or other programmable device in which there is a very strong (generally one-to-one) correspondence between the language and the architecture's machine code instructions. Each assembly language is specific to a particular computer architecture, in contrast to most high-level programming languages, which are generally portable across multiple architectures, but require interpreting or compiling. Assembly language is converted into executable machine code by a utility program referred to as an assembler; the conversion process is referred to as assembly, or assembling the code.

Share tech news, updates, or what's on your mind.

Sign up to Post

We decided to upgrade to Exchange 2013 CU 19 from our Exchange 2010 Environment and introduced 1st Exchange 2013 C19 into the environment. However , emails are not flowing between our two environments [ i.e. between exchange 2010 and 2013]. OWA 2013 will say you dont have permission to perform this action , when test mailbox user on exchange 2013 mailbox database tries to send an email.

[ Exchange 2010 version is SP3 Rollup 9 and Exchange 2013 version is CU 19]

Exchange 2013 is multirole server and having issues with its transport service and it wont start. Attempt to restart it also results in failure.



We see this event EVENT 16023.

Microsoft Exchange couldn’t start transport agents. The Microsoft Exchange Transport service will be stopped. Exception details: Failed to create type ‘Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.TransportRuleAgentFactory’ from assembly ‘C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\agents\Rule\Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.dll’ due to error ‘Agent Transport Rule couldn’t load the rule collection.’. : Microsoft.Exchange.Data.ExchangeConfigurationException: Failed to create type ‘Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.TransportRuleAgentFactory’ from assembly ‘C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\agents\Rule\Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.dll’ due to error ‘Agent Transport Rule couldn’t load the rule collection.’.…
0
[Webinar On Demand] Database Backup and Recovery
LVL 11
[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

OWA stopped working.

The only error I have in Event viewer is the following:

Log Name:      Application
Source:        ASP.NET 2.0.50727.0
Date:          04-01-2018 11:45:13
Event ID:      1310
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      SERVER-CR.rp-sroc.local
Description:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 04-01-2018 11:45:13
Event time (UTC): 04-01-2018 11:45:13
Event ID: 19f3c753447c413d9472b773800071ee
Event sequence: 1
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT/owa-4-131595399127484622
    Trust level: Full
    Application Virtual Path: /owa
    Application Path: C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa\
    Machine name: SERVER-CR
 
Process information:
    Process ID: 1104
    Process name: w3wp.exe
    Account name: NT AUTHORITY\SYSTEM
 
Exception information:
    Exception type: HttpException
    Exception message: Could not load file or assembly 'Microsoft.Exchange.Data.Directory, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa\web.config line 77)
 
Request information:
    Request URL: https://10.0.0.10:443/owa/auth/error.aspx?aspxerrorpath=/owa/ 
    …
0
Hi,

I have write Assembly using C# stored procedure (web services), it's working fine.
Only issue with Error Handling.
some errors i can catch (if Order Exisits) but most of Errors i can't catch. but when i was testing in the
unit test i can see it's working preoprly.But when after comipled and create assembly
most of Errors Can't track.
Any idea appriciated.
//property
        public static string ReturnMsg { get; set; }

//Error Catching part
catch (Exception ex)
            {
                //pipe.Send(ex.ToString());
                //pipe.Send(strValue + "\n" + strcount);
                //Get stack trace for the exception with source file information
                var st = new StackTrace(ex, true);
                // Get the top stack frame
                var frame = st.GetFrame(0);
                // Get the line number from the stack frame
                var line = frame.GetFileLineNumber();

                strcount = "Line Number " + line.ToString() + "-->" + ex.ToString();//ex.Message.ToString() +
                //pipe.Send(strValue + "\n" + strcount);
                ReturnMsg = ex.Message.ToString();
               //throw new Exception("Error: " + ex.Message);
            }

Open in new window


Note: i have check many examples. stackflows.But all are not working. I knew how to search and google find answer.
i would appriciate if any one show me or direct me any idea what's im doing wrong
0
I have a combination of Access applications currently in use. They are NOT garden variety. There are no bound forms or controls, and basically we are really just using Access as a platform from running VB. We have over 1600 stored procedures (or "Queries" if you prefer), 360 tables, 200 forms and something approaching 700 pages of code. This total is held down significantly by the use of data driven query assembly and report generation.

Unfortunately, Access simply can't work with remote data servers. Our back end databases were moved to a remote location as a precaution during Hurricane Irma and we couldn't even open them. Attempts to run Access over VPN connections are a frustration clinic. I have even created a local Job Queue to run jobs requested by users in remote locations.

Equally unfortunate is the fact that at some point we will lose our local server. So between now and then, I need to find a development platform that will still allow all of the robust functionality we have in Access, but will also us to use back end data files at remote data centers. Most of the advertised "Access Alternatives" appear to be fine if you are replacing an app with 5 tables, three forms and 10 queries. We need something that will continue to allow us to build powerful applications for a non-developer user population. And the whole team is 2 people!

Suggestions welcome!
0
I have created CLR using C# and i have added to successfully to database to my CLR.
But when i'm try to run error message is showin

Error

Msg 6522, Level 16, State 1, Procedure SendOrdersAPI, Line 9
A .NET Framework error occurred during execution of user-defined routine or aggregate "SendOrdersAPI":
System.InvalidOperationException: Invalid attempt to read when no data is present.
System.InvalidOperationException:
   at System.Data.SqlClient.SqlDataReader.CheckDataIsReady(Int32 columnIndex, Boolean allowPartiallyReadColumn, Boolean permitAsync, String methodName)
   at System.Data.SqlClient.SqlDataReader.TryReadColumn(Int32 i, Boolean setTimeout, Boolean allowPartiallyReadColumn)
   at System.Data.SqlClient.SqlDataReader.GetValueInternal(Int32 i)
   at System.Data.SqlClient.SqlDataReader.GetValue(Int32 i)
   at ManCLR.dbConnection.username()
   at ManCLR.SendOrderOMS.SendOrdersTOAPI(String OrderNumber, Int32 TotalNumberLine)
   at ManCLR.DenManMain.sendOMS(String OrderNumber, String username)

CREATE PROCEDURE SendOrdersAPI
(
@OrderNumber nvarchar(MAX),
@username nvarchar(MAx)
)
AS 
EXTERNAL NAME ManCLR.[ManCLR.ManMain].sendAPI
GO

EXEC SendOrdersAPI  'Test123','sa'

Open in new window


And also i used following commands in the Sql server to add assembly

CREATE ASSEMBLY SMdiagnostics AUTHORIZATION dbo FROM 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SMdiagnostics.dll' WITH permission_set = unsafe
CREATE ASSEMBLY [System.Web] AUTHORIZATION dbo FROM …
0
System.ArgumentOutOfRangeException was unhandled
  HResult=-2146233086
  Message=InvalidArgument=Value '0' não é um valor válido para 'SelectedIndex'.
Nome do parâmetro: SelectedIndex
  Source=System.Windows.Forms
  ParamName=SelectedIndex
  StackTrace:
       em System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
       em RemoteConsole.MainForm.AddMailTypeList(List`1 typeList) na D:\zhyz\Server Source\RemoteConsole\RemoteConsole\MainForm.cs:linha 124
       em RemoteConsole.Program.Main() na D:\zhyz\Server Source\RemoteConsole\RemoteConsole\Program.cs:linha 74
       em System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       em System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       em Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       em System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       em System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       em System.Threading.ThreadHelper.ThreadStart()
  InnerException:


Code:        public void …
0
I have an Azure website that has been working perfectly. It is connected to an Azure SQL Database. I was informed that the print to PDF is no longer working and throwing the attached error.   I've checked the Microsoft.SqlServer.Types, Version and in my Bin I'm using version 11. Here's the rub. I need to get this resolved ASAP however the freelancer I used on this project is no longer available or in this country. I'm not certain that the solution that I have for this site is the most recent that was deployed. What's the best way to go about resolving this issue with the information I have provided thus far? That being said I'm afraid that if I attempt this without some serious insight I'll make it much worse. I'm not opposed to paying for assistance however if this is something that I can fix by possibly redeploying perhaps just the Bin files. I'm a database guy and not really a .net.

Thank You in advance.
Error.png
0
System.ArgumentOutOfRangeException was unhandled
  HResult=-2146233086
  Message=InvalidArgument=Value '0' não é um valor válido para 'SelectedIndex'.
Nome do parâmetro: SelectedIndex
  Source=System.Windows.Forms
  ParamName=SelectedIndex
  StackTrace:
       em System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
       em RemoteConsole.MainForm.AddMailTypeList(List`1 typeList) na D:\zhyz\Server Source\RemoteConsole\RemoteConsole\MainForm.cs:linha 124
       em RemoteConsole.Program.Main() na D:\zhyz\Server Source\RemoteConsole\RemoteConsole\Program.cs:linha 74
       em System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       em System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       em Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       em System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       em System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       em System.Threading.ThreadHelper.ThreadStart()
  InnerException:


Code:        public void …
0
 
LVL 26

Expert Comment

by:Brian B
Hi Lucas. You have entered this as a post, but it looks like you are asking for help. To get the best response from the Experts, you should probably re-submit this as a question using the "ask a question" button at the top of the page, or this link: https://www.experts-exchange.com/askQuestion.jsp

If you do ask a question, please post the link to it back here so others can find your question and help you more quickly.

Please see here for further details: http://support.experts-exchange.com/customer/portal/articles/756544-how-to-succeed-at-ee-as-an-asker
0
I'm getting following Error message when i trying to create the following assembly

Msg 6544, Level 16, State 1, Line 1
CREATE ASSEMBLY for assembly 'System.ServiceModel' failed because assembly 'microsoft.visualbasic.activities.compiler' is malformed or not a pure .NET assembly.
Unverifiable PE Header/native stub.

Sql server version is :
Product : Microsoft SQL Server Developer (64-bit)
Microsoft SQL Server 2016 (SP1-GDR) (KB4019089) - 13.0.4206.0 (X64)   Jul  6 2017 07:55:03   Copyright (c) Microsoft Corporation  Developer Edition (64-bit) on Windows 10 Home 6.3 <X64> (Build 15063: )
0
Hi, When i trying to create assemble iam getting following Error Message


Msg 10301, Level 16, State 1, Line 22
Assembly 'Test_CLR' references assembly 'system.servicemodel, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089.', which is not present in the current database. SQL Server attempted to locate and automatically load the referenced assembly from the same location where referring assembly came from, but that operation has failed (reason: 2(The system cannot find the file specified.)). Please load the referenced assembly into the current database and retry your request.

Warning: The Microsoft .NET Framework assembly 'smdiagnostics, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Msg 6586, Level 16, State 1, Line 13
Assembly 'SMdiagnostics' could not be installed because existing policy would keep it from being used.

I tried following helps,but didn't work
https://stackoverflow.com/questions/2781624/sqlclr-using-the-wrong-version-of-the-net-framework
https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/startup/startup-element


This kind of answer , im not sure how to do it

0
Become an Android App Developer
LVL 11
Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

System.BadImageFormatException occurred
  HResult=0x8013101B
  Message=Could not load file or assembly 'Interop.MakeCardp, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
  Source=<Cannot evaluate the exception source>
  StackTrace:
<Cannot evaluate the exception stack trace>

I've  VB.NET application  that uses a Vb6 activex in VS2010 without problems. I've moved that app to VS2017 (idem framework 3.5,  platform and target cpu x86) and now I get the error above.

any suggestions?
0
TITLE Program Template          (RevStr.asm)

; This program reverses a string.

.model flat, stdcall
.stack 4096
ExitProcess PROTO, dwExitCode:DWORD
Writestring PROTO
INCLUDE (where you have it stored)\Irvine32.inc

.data
aName BYTE "Abraham Lincoln",0
nameSize = ($ - aName) - 1

.code
main PROC

; Push the name on the stack.
      mov ecx,nameSize
      mov esi,0

L1:      movzx eax, aName[esi]      ; get character
      push eax                  ; push on stack
      inc esi
      Loop L1

; Pop the name from the stack, in reverse,
; and store in the aName array.
      mov ecx, nameSize
      mov esi, 0

L2:      pop eax                  ; get character
      mov aName[esi],  al            ; store in string
      inc esi
      Loop L2

; Display the name.
      mov edx,  OFFSET aName
      call Writestring
      call Crlf
INVOKE ExitProcess, 0
main ENDP
END main
0
HP Prolint ML330 G6
The server powers on, and after checking the RAM it gives:
error 1611 - system zone fan assembly failure detected
cooling solution not sufficient
shutdown after 5 seconds.

How to rectify the problems
0
Thank you for looking at my question,

I have a php page that when it opens runs a query against a MySQL table - currently not a huge table, contains three rows of data, and writes the data to an array.
	$queryAssembly = "SELECT ProductionOrderTube, Meter, TubeAssembly, WiredInner FROM tblTubeAssembly_Base ORDER BY ProductionOrderTube DESC";
	$resultAssembly = $conn->query($queryAssembly);
	if (!$resultAssembly) die($conn->error);
	
	$rowsAssembly = $resultAssembly->num_rows;

	for($i=0; $i<$rowsAssembly; $i++){
		$AssemblyArray[$i][0] = $resultAssembly->fetch_Assoc()['ProductionOrderTube'];
		$AssemblyArray[$i][1] = $resultAssembly->fetch_Assoc()['Meter'];
		$AssemblyArray[$i][2] = $resultAssembly->fetch_Assoc()['TubeAssembly'];
		$AssemblyArray[$i][3] = $resultAssembly->fetch_Assoc()['WiredInner'];
	}

Open in new window


When I display the results to the screen using:
	echo '<table border="1">';
		echo '<tr>';
			echo '<td>$i</td><td>Prodn Order</td><td>Meter</td><td>Tube Ass</td><td>Wired Inner</td>';
		echo '</tr>';
		
		for($i=0; $i<$rowsAssembly; $i++){
			echo '<tr>';
				echo '<td>' .$i. '</td>';
				echo '<td>' .$i. ' ... ' .$AssemblyArray[$i][0]. '</td>';
				echo '<td>' .$i. ' ... ' .$AssemblyArray[$i][1]. '</td>';
				echo '<td>' .$i. ' ... ' .$AssemblyArray[$i][2]. '</td>';
				echo '<td>' .$i. ' ... ' .$AssemblyArray[$i][3]. '</td>';
			echo '</tr>';
		}
	echo '</table>';

Open in new window

Instead of getting three rows of four elements, the first row of the display table contains the Prodn Order number from the first row of the SQL table, the meter from the second row of the sql table, the tube assembly from the third row and, because there isn't a fourth row, wired inner = 0.

The next two rows of the display table contain zeroes


I can't see what is causing this to happen. Please, somebody, point out what I've missed
0
hi experts,

i want to ask how to clean the nozzle use for dispensing epoxy in diebond /die attach process .(semiconductor industry)
0
Hi Experts,
I use Crystal Reports in my C#.Net Windows Service.
When I run my app, I get the error below:

ERROR
The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception.

Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies.
The system cannot find the file specified.



I do see CrystalDecisions.Shared.dll in my Windows bin folder.

How can I resolve this issue?

Thank you in advance,
mrotor
0
I got the positive number multiplication right and I can kinda do negative numbers . but I cant do both at the same time
my try code
        INP
        STA A
        INP
        STA B
        LDA A
        BRZ END
        LDA B
        BRZ END
        LDA NUM
        SUB B
        BRP CHANGE
CHANGE  LDA NUM
        SUB B
        STA B
        LDA NUM
        SUB A
        STA A
LOOP    LDA B
        BRZ END
        SUB ONE
        STA B
        LDA P
        ADD A
        STA P
        BRA LOOP
END     LDA P
        OUT
        SUB P
        STA P
        OUT
        HLT
A       DAT
B       DAT
P       DAT 0
ONE     DAT 1
NUM     DAT 0
0
Hello All,

I have two C# WinForm applications. When BOTH apps are running, I would like to use reflection in App A to get and set information in App B. I can do this already if App A uses refelection to load the App B assembly. Is there anyway to do the same if App B is already running?

Also, when I use reflection in App A to Load the App B Assembly, is App B still running in its own process? I don't see it in task manager, but I do see it on the desktop

Both App A and App B are forms
Windows 7 Pro 64
VS2013

Thanks very much,

Brian
0
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Data.OleDb.OleDbException (0x80004005): Unexpected error from external database driver (1).
   at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
   at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at …
0
Free Tool: Site Down Detector
LVL 11
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

There are whole operating systems(kolibriOS and menuetOS), bootloaders and applications written in assembly, but is there an on-screen keyboard program too?
I'd like to regularly use it with my touchscreen UMPC(tablet pc) across entire windows xp, and it also should have minimal-footprint of CPU, RAM, HDD(or use less than 10-20 MB of HDD).

+  is there any bios modders who made on-screen keyboard always working, at bios(UEFI, EFI) level(as optional, loadable module, maybe)?

+  And is there bios'es that have on-screen keyboard just being shown as overlay keyboard with hide/show button(like in DosBox on android), being independent from any OS, just like when you type security pin at BitLocker screen(https://h30434.www3.hp.com/t5/image/serverpage/image-id/141539iDCB9FE134F283644?v=1.0), or as transparently overlayed keyboard(like DosBox !)
surface-pro-3-uefi-administrator-pas.jpg
n0pDosboxFullKBDShow.bmp.png
maxresdefault.jpg
img_56a6c8a887698.png
0
Hello, I am a beginner in assembly and I've began working on this lab called Binary Bomb. After much work I've gone through the first 4 phases of it so far, but phase 5 has me incredibly confused as to what I should be doing. So far, I believe the password necessary to complete this phase is a string of 6 chars, but other than that I am at a complete lost. I feel like I'm missing something crucial that I'm just not seeing. What should I be checking for here? Thanks.

Dump of assembler code for function phase_5:
=> 0x0000000000401105 <+0>:      push   %rbx
   0x0000000000401106 <+1>:      mov    %rdi,%rbx
   0x0000000000401109 <+4>:      callq  0x40135a <string_length>
   0x000000000040110e <+9>:      cmp    $0x6,%eax
   0x0000000000401111 <+12>:      je     0x401118 <phase_5+19>
   0x0000000000401113 <+14>:      callq  0x40164c <explode_bomb>
   0x0000000000401118 <+19>:      mov    %rbx,%rax
   0x000000000040111b <+22>:      lea    0x6(%rbx),%rdi
   0x000000000040111f <+26>:      mov    $0x0,%ecx
   0x0000000000401124 <+31>:      movzbl (%rax),%edx
   0x0000000000401127 <+34>:      and    $0xf,%edx
   0x000000000040112a <+37>:      add    0x4026c0(,%rdx,4),%ecx
   0x0000000000401131 <+44>:      add    $0x1,%rax
   0x0000000000401135 <+48>:      cmp    %rdi,%rax
   0x0000000000401138 <+51>:      jne    0x401124 <phase_5+31>
   0x000000000040113a <+53>:      cmp    $0x2d,%ecx
   0x000000000040113d <+56>:      je     0x401144 <phase_5+63>
   0x000000000040113f <+58>:      callq  0x40164c <explode_bomb>
   0x0000000000401144 <+63>:      pop    %rbx
 …
0
i want to have 2 options in the Little man Machine? 1. user wants add 2 numbers and then in option 2 type letters for an Word examle nice or smile , user must have the option for either of the both in the beginning :(
0
I have a clr assembly installed on SQL Server 2008R2
It has been working flawlessly for 4 months
Not 1 iota of code has been changed
If calls a web service
Not one thing has been changed on the web service

Out of the blue I am getting this message on the invoke

Msg 6522, Level 16, State 2, Line 2
A .NET Framework error occurred during execution of user-defined routine or aggregate "MyGTG": 
System.NullReferenceException: Object reference not set to an instance of an object.
System.NullReferenceException: 
   at HelloEveryware.PassIn.GTG(String user, String token, String PID, String OID, String TSW_ID, String FirstName, String LastName, String IsOwner, String EmailAddress, String AccomName, String AccomAddress, String AccomState, String CheckinDate, String CheckinTime, String CheckoutTime, String AccomNights, String TourDate_Disp, String TourWave, String TourLocation, String ContactUsPhone, String DateAdded, String SendNow, String AccomCreationDate, String AccomPhone, String ActivitySeason, String CampaignName, String CancellationPeriod, String CheckinDate_Disp, String CheckInDayOfWeek, String CheckoutDate, String CheckoutDate_Disp, String ContactUsEmail, String ContactUsSignature, String OpenDate, String OpenExpirationDate, String OpenExpirationDate_Unix, String OpenMonths, String OwnerAgentName, String OwnerLottoPreferenceLevel, String OwnerLottoRequest, String OwnerLottoUse, String OwnerNumber, String OwnershipSeason, String OwnershipUnitSize, String 

Open in new window

0
In my code below...
What happens if a null value is passed in?

On my "far end" api I handle the null value  (api.brkEditProspect)

    <Microsoft.SqlServer.Server.SqlFunction>
    Public Shared Function UpsertProspect(user As String, token As String, PID As String, FirstName As String, middlename As String, LastName As String,
    EmailAddress As String, Address1 As String, Address2 As String, City As String, state As String, country As String,
    zipcode As String, Occupation As String, spousefirstname As String, spouselastname As String, spouseoccupation As String, DateOfBirth As String,
    Gender As String, WorkPhone As String, HomePhone As [String], CellPhone As String, MaritalStatus As String, HouseHoldIncome As String, ReferingOwnerID As String, SalesAgent As String) As Int32
        Dim ret As Int32 = 0
        Try
            Dim api As New wsclientapi.Service
            Dim rett As String = ""
            rett = api.brkEditProspect(user, token, PID, FirstName, middlename, LastName, EmailAddress, Address1, Address2, City, state, country, zipcode, Occupation, spousefirstname, spouselastname, spouseoccupation, DateOfBirth, Gender, WorkPhone, HomePhone, CellPhone, MaritalStatus, HouseHoldIncome, ReferingOwnerID, SalesAgent)
            ret = 1
        Catch ex As Exception
            File.WriteAllText(Convert.ToString("D:\netAssemblies\errorfile.txt"), ex.Message + Environment.NewLine + Environment.NewLine + ex.StackTrace + Environment.NewLine + 

Open in new window

0
I am getting following error while building my application

Severity      Code      Description      Project      File      Line      Suppression State
Error            The "Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask" task could not be loaded from the assembly C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\\XamlBuildTask.dll. Could not load file or assembly 'XamlBuildTask, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.      AppConfigWizard
0

Assembly

An assembly language (or assembler language) is a low-level programming language for a computer or other programmable device in which there is a very strong (generally one-to-one) correspondence between the language and the architecture's machine code instructions. Each assembly language is specific to a particular computer architecture, in contrast to most high-level programming languages, which are generally portable across multiple architectures, but require interpreting or compiling. Assembly language is converted into executable machine code by a utility program referred to as an assembler; the conversion process is referred to as assembly, or assembling the code.

Top Experts In
Assembly
<
Monthly
>